Index: Source/bindings/scripts/v8_attributes.py |
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
index 0be9c69669a7531966cf715f984c10841d1d8e09..2913c8430685178a85ce60be9bb5b7f23b2f5243 100644 |
--- a/Source/bindings/scripts/v8_attributes.py |
+++ b/Source/bindings/scripts/v8_attributes.py |
@@ -124,7 +124,7 @@ def attribute_context(interface, attribute): |
'is_check_security_for_window': is_check_security_for_window, |
'is_custom_element_callbacks': is_custom_element_callbacks, |
# TODO(yukishiino): Make all DOM attributes accessor-type properties. |
- 'is_data_type_property': constructor_type or interface.name == 'Window' or interface.name == 'Location', |
+ 'is_data_type_property': constructor_type or interface.name == 'Window' or interface.name == 'Location' or (interface.name == 'Event' and attribute.name == 'isTrusted'), |
'is_getter_raises_exception': # [RaisesException] |
'RaisesException' in extended_attributes and |
extended_attributes['RaisesException'] in (None, 'Getter'), |