mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:39:38 +00:00
DDC fix for Edge
Patch from zjd. R=jacobr@google.com Review-Url: https://codereview.chromium.org/2780903004 .
This commit is contained in:
parent
b4dbe8eba0
commit
84864e3415
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -64,8 +64,11 @@ final global_ = JS(
|
|||
window.AudioSourceNode = MediaElementAudioSourceNode.__proto__;
|
||||
}
|
||||
if (typeof FontFaceSet == "undefined") {
|
||||
// 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") {
|
||||
window.MemoryInfo = window.performance.memory.constructor;
|
||||
|
|
Loading…
Reference in a new issue