Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index 162a8d010b4bc21c058008942ccd97d075ed1e33..e7b580265b9ddd7e035b6ceee5cb2810d53d5ec1 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -1025,8 +1025,8 @@ def property_setter(setter): |
idl_type.is_wrapper_type, |
'idl_type': idl_type.base_type, |
'is_custom': 'Custom' in extended_attributes, |
- 'has_exception_state': is_raises_exception or |
- idl_type.is_integer_type, |
+ 'has_exception_state': (is_raises_exception or |
+ idl_type.v8_conversion_needs_exception_state), |
'is_raises_exception': is_raises_exception, |
'name': cpp_name(setter), |
'v8_value_to_local_cpp_value': idl_type.v8_value_to_local_cpp_value( |