| Index: core/css/FontFaceSet.idl
|
| diff --git a/core/css/FontFaceSet.idl b/core/css/FontFaceSet.idl
|
| index 10bc2f718380a63df398ea4f3ba1a45e8cdc9edf..31ae4fc8d0cc9d2c446b0967cc8dbe1a3f4a72ee 100644
|
| --- a/core/css/FontFaceSet.idl
|
| +++ b/core/css/FontFaceSet.idl
|
| @@ -34,15 +34,14 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
| ActiveDOMObject,
|
| SetWrapperReferenceFrom=document,
|
| NoInterfaceObject,
|
| - RuntimeEnabled=FontLoadEvents,
|
| ] interface FontFaceSet : EventTarget {
|
|
|
| attribute EventHandler onloading;
|
| attribute EventHandler onloadingdone;
|
| attribute EventHandler onloadingerror;
|
|
|
| - [RaisesException] boolean check(DOMString font, optional DOMString text = null);
|
| - [CallWith=ScriptState] Promise load(DOMString font, optional DOMString text = null);
|
| + [RaisesException] boolean check(DOMString font, optional DOMString text = " ");
|
| + [CallWith=ScriptState] Promise load(DOMString font, optional DOMString text = " ");
|
| [MeasureAs=FontFaceSetReady, CallWith=ScriptState] Promise ready();
|
|
|
| [RaisesException] void add(FontFace fontFace);
|
|
|