| Index: core/css/FontFaceSet.idl
|
| diff --git a/core/css/FontFaceSet.idl b/core/css/FontFaceSet.idl
|
| index 7f5b6ced0be962467e4aa543e821c4c99e2e6dd3..10bc2f718380a63df398ea4f3ba1a45e8cdc9edf 100644
|
| --- a/core/css/FontFaceSet.idl
|
| +++ b/core/css/FontFaceSet.idl
|
| @@ -41,9 +41,9 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
| attribute EventHandler onloadingdone;
|
| attribute EventHandler onloadingerror;
|
|
|
| - [RaisesException] boolean check(DOMString font, [Default=NullString] optional DOMString text);
|
| - [RaisesException] Promise load(DOMString font, [Default=NullString] optional DOMString text);
|
| - Promise ready();
|
| + [RaisesException] boolean check(DOMString font, optional DOMString text = null);
|
| + [CallWith=ScriptState] Promise load(DOMString font, optional DOMString text = null);
|
| + [MeasureAs=FontFaceSetReady, CallWith=ScriptState] Promise ready();
|
|
|
| [RaisesException] void add(FontFace fontFace);
|
| void clear();
|
|
|