| Index: Source/bindings/templates/attributes.cpp
|
| diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp
|
| index a603d35792fff0333c88d81bbfc0b251c6c0e397..8819a388600df19d69ad7cae65d8855143f87aea 100644
|
| --- a/Source/bindings/templates/attributes.cpp
|
| +++ b/Source/bindings/templates/attributes.cpp
|
| @@ -125,9 +125,6 @@ static void {{attribute.name}}AttributeSetter{{world_suffix}}(v8::Local<v8::Stri
|
| {% if attribute.idl_type != 'EventHandler' %}
|
| {{attribute.v8_value_to_local_cpp_value}};
|
| {% else %}{# EventHandler hack #}
|
| - {# Non-callable input should be treated as null #}
|
| - if (!jsValue->IsNull() && !jsValue->IsFunction())
|
| - jsValue = v8::Null(info.GetIsolate());
|
| transferHiddenDependency(info.Holder(), {{attribute.event_handler_getter_expression}}, jsValue, {{v8_class_name}}::eventListenerCacheIndex, info.GetIsolate());
|
| {% endif %}
|
| {% if attribute.enum_validation_expression %}
|
|
|