| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index c0e9a1c3161630568227c79e32fb165edaeba218..8741049ebb0d3e7618a2dec36c59766c63a7da4f 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -255,7 +255,16 @@ static const V8DOMConfiguration::MethodConfiguration {{v8_class}}Methods[] = {
|
| bool fill{{cpp_class}}Init({{cpp_class}}Init& eventInit, const Dictionary& options, ExceptionState& exceptionState, const String& forEventName)
|
| {
|
| Dictionary::ConversionContext conversionContext(forEventName.isEmpty() ? String("{{interface_name}}") : forEventName, "", exceptionState);
|
| - {# FIXME: implement [InitializedByEventConstructor] #}
|
| + {# FIXME: parent interface #}
|
| + {% for attribute in attributes
|
| + if attribute.is_initialized_by_event_constructor %}
|
| + {# FIXME: implement [ImplementedAs] #}
|
| + {# FIXME: implement [DeprecateAs] #}
|
| + {# FIXME: special-case any #}
|
| + {# FIXME: implement withPropertyAttributes #}
|
| + if (!options.convert(conversionContext, "{{attribute.name}}", eventInit.{{attribute.name}}))
|
| + return false;
|
| + {% endfor %}
|
| return true;
|
| }
|
|
|
|
|