| Index: third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| index f27015b2e7e865dd0506b293046eabdb2841326a..be1e3a4a93ca27d3f2317b9655d9bdb43f4e38d2 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| @@ -119,7 +119,6 @@ def attribute_context(interface, attribute):
|
| 'enum_type': idl_type.enum_type,
|
| 'enum_values': idl_type.enum_values,
|
| 'exposed_test': v8_utilities.exposed(attribute, interface), # [Exposed]
|
| - 'has_fast_accessor': 'FastAccessor' in extended_attributes,
|
| 'has_custom_getter': has_custom_getter(attribute),
|
| 'has_custom_setter': has_custom_setter(attribute),
|
| 'has_fast_accessor': 'FastAccessor' in extended_attributes,
|
| @@ -132,7 +131,7 @@ def attribute_context(interface, attribute):
|
| 'is_check_security_for_return_value': is_check_security_for_return_value,
|
| 'is_custom_element_callbacks': is_custom_element_callbacks,
|
| # TODO(yukishiino): Make all DOM attributes accessor-type properties.
|
| - 'is_data_type_property': is_data_type_property(interface, attribute),
|
| + 'is_data_type_property': not ('StoreInField' in extended_attributes) and is_data_type_property(interface, attribute),
|
| 'is_getter_raises_exception': # [RaisesException]
|
| 'RaisesException' in extended_attributes and
|
| extended_attributes['RaisesException'] in (None, 'Getter'),
|
| @@ -150,6 +149,7 @@ def attribute_context(interface, attribute):
|
| 'is_replaceable': 'Replaceable' in attribute.extended_attributes,
|
| 'is_save_same_object': is_save_same_object,
|
| 'is_static': attribute.is_static,
|
| + 'is_store_in_field': 'StoreInField' in extended_attributes,
|
| 'is_url': 'URL' in extended_attributes,
|
| 'is_unforgeable': is_unforgeable(interface, attribute),
|
| 'on_instance': v8_utilities.on_instance(interface, attribute),
|
| @@ -172,6 +172,7 @@ def attribute_context(interface, attribute):
|
| 'runtime_feature_name': v8_utilities.runtime_feature_name(attribute), # [RuntimeEnabled]
|
| 'secure_context_test': v8_utilities.secure_context(attribute, interface), # [SecureContext]
|
| 'should_be_exposed_to_script': not (is_implemented_in_private_script and is_only_exposed_to_private_script),
|
| + 'surrogate_property_name': '%s_%s' % (interface.name, attribute.name),
|
| 'world_suffixes': (
|
| ['', 'ForMainWorld']
|
| if 'PerWorldBindings' in extended_attributes
|
|
|