| Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| index b0ca1891d6ba154435a35b7053acf4c8a551752e..d286d36f055915bfb2b7a18dab219a7e4bd624ac 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| @@ -64,7 +64,10 @@ final global_ = JS(
|
| window.AudioSourceNode = MediaElementAudioSourceNode.__proto__;
|
| }
|
| if (typeof FontFaceSet == "undefined") {
|
| - window.FontFaceSet = document.fonts.__proto__.constructor;
|
| + // CSS Font Loading is not supported on Edge.
|
| + if (typeof document.fonts != "undefined") {
|
| + window.FontFaceSet = document.fonts.__proto__.constructor;
|
| + }
|
| }
|
| if (typeof MemoryInfo == "undefined") {
|
| if (typeof window.performance.memory != "undefined") {
|
|
|