Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index 981ef3990312733abff06dcc94cd52863db5ddb6..42014a67bee8ae2a74441d116bf63ee8c95c4935 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -308,7 +308,10 @@ def interface_context(interface): |
for attribute in attributes), |
'has_conditional_attributes': has_conditional_attributes, |
'has_constructor_attributes': any(attribute['constructor_type'] for attribute in attributes), |
- 'has_replaceable_attributes': any(attribute['is_replaceable'] for attribute in attributes), |
+ 'has_replaceable_attributes': any( |
+ attribute['is_replaceable'] and |
+ not attribute['is_expose_js_accessors'] |
+ for attribute in attributes), |
}) |
# Methods |