From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/css/CSSFontFaceLoadEvent.idl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Source/WebCore/css/CSSFontFaceLoadEvent.idl') 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; }; -- cgit v1.2.1