diff options
Diffstat (limited to 'Source/WebCore/css/CSSFontFaceLoadEvent.idl')
-rw-r--r-- | Source/WebCore/css/CSSFontFaceLoadEvent.idl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/WebCore/css/CSSFontFaceLoadEvent.idl b/Source/WebCore/css/CSSFontFaceLoadEvent.idl index 148ea1fe1..0ab6f2083 100644 --- a/Source/WebCore/css/CSSFontFaceLoadEvent.idl +++ b/Source/WebCore/css/CSSFontFaceLoadEvent.idl @@ -29,11 +29,14 @@ */ [ - NoInterfaceObject, Conditional=FONT_LOAD_EVENTS, - JSNoStaticTables, - ConstructorTemplate=Event + Constructor(DOMString type, optional CSSFontFaceLoadEventInit eventInit), ] interface CSSFontFaceLoadEvent : Event { - [InitializedByEventConstructor] readonly attribute CSSFontFaceRule fontface; - [InitializedByEventConstructor] readonly attribute DOMError error; + readonly attribute CSSFontFaceRule? fontface; + readonly attribute DOMError? error; +}; + +dictionary CSSFontFaceLoadEventInit : EventInit { + CSSFontFaceRule? fontface = null; + DOMError? error = null; }; |