Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: Source/bindings/scripts/v8_attributes.py

Issue 1102313002: bindings: Move named/indexed attributes to prototype chains. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/scripts/v8_attributes.py
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
index 789dad7988e175fef7494d3111439bf3ea805068..8f73ee8acecfe5604e14a1af0d9a97816fa4f124 100644
--- a/Source/bindings/scripts/v8_attributes.py
+++ b/Source/bindings/scripts/v8_attributes.py
@@ -527,13 +527,7 @@ def is_expose_js_accessors(interface, attribute):
# chains.
if (has_custom_getter(attribute) or
has_custom_setter(attribute) or
- interface.name == 'Window' or
- v8_utilities.indexed_property_getter(interface) or
- v8_utilities.indexed_property_setter(interface) or
- v8_utilities.indexed_property_deleter(interface) or
- v8_utilities.named_property_getter(interface) or
- v8_utilities.named_property_setter(interface) or
- v8_utilities.named_property_deleter(interface)):
+ interface.name == 'Window'):
return False
return is_accessor

Powered by Google App Engine
This is Rietveld 408576698