| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index 182077b3721e60903f2f95e9cb27778e77471d56..b74b4268990dd9a71a5e6a0bad709269370a74b5 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -151,7 +151,7 @@ static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> jsValue,
|
| {
|
| {{cpp_class}}* collection = {{v8_class}}::toNative(info.Holder());
|
| {{setter.v8_value_to_local_cpp_value}};
|
| - {% if setter.is_raises_exception %}
|
| + {% if setter.has_exception_state %}
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| {% endif %}
|
| {% if setter.has_strict_type_checking %}
|
| @@ -319,7 +319,7 @@ static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>
|
| {# v8_value_to_local_cpp_value('DOMString', 'name', 'propertyName') #}
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, propertyName, name);
|
| {{setter.v8_value_to_local_cpp_value}};
|
| - {% if setter.is_raises_exception %}
|
| + {% if setter.has_exception_state %}
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| {% endif %}
|
| {% set setter_name = setter.name or 'anonymousNamedSetter' %}
|
|
|