| Index: third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_methods.py b/third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| index 3b0296ef050d544a618bb42153f2e24a80041f4a..f741c9e6be64ff77cc892ef8f1b00a2a92eab312 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| @@ -117,13 +117,6 @@ def method_context(interface, method, is_visible=True):
|
| if 'LenientThis' in extended_attributes:
|
| raise Exception('[LenientThis] is not supported for operations.')
|
|
|
| - if 'RuntimeEnabled' in extended_attributes:
|
| - includes.add('platform/RuntimeEnabledFeatures.h')
|
| -
|
| - if 'OriginTrialEnabled' in extended_attributes:
|
| - includes.add('core/inspector/ConsoleMessage.h')
|
| - includes.add('core/origin_trials/OriginTrials.h')
|
| -
|
| argument_contexts = [
|
| argument_context(interface, method, argument, index, is_visible=is_visible)
|
| for index, argument in enumerate(arguments)]
|
| @@ -157,7 +150,6 @@ def method_context(interface, method, is_visible=True):
|
| any(True for argument_context in argument_contexts
|
| if argument_context['is_optional_without_default_value']),
|
| 'idl_type': idl_type.base_type,
|
| - 'is_origin_trial_enabled': v8_utilities.origin_trial_enabled_function(method) or v8_utilities.origin_trial_enabled_function(interface), # [OriginTrialEnabled]
|
| 'is_call_with_execution_context': has_extended_attribute_value(method, 'CallWith', 'ExecutionContext'),
|
| 'is_call_with_script_arguments': is_call_with_script_arguments,
|
| 'is_call_with_script_state': is_call_with_script_state,
|
| @@ -193,8 +185,7 @@ def method_context(interface, method, is_visible=True):
|
| 'on_interface': v8_utilities.on_interface(interface, method),
|
| 'on_prototype': v8_utilities.on_prototype(interface, method),
|
| 'only_exposed_to_private_script': is_only_exposed_to_private_script,
|
| - 'origin_trial_enabled': v8_utilities.origin_trial_enabled_function(method), # [OriginTrialEnabled]
|
| - 'origin_trial_enabled_per_interface': v8_utilities.origin_trial_enabled_function(interface), # [OriginTrialEnabled]
|
| + 'origin_trial_enabled_function': v8_utilities.origin_trial_enabled_function_name(method, interface), # [OriginTrialEnabled]
|
| 'private_script_v8_value_to_local_cpp_value': idl_type.v8_value_to_local_cpp_value(
|
| extended_attributes, 'v8Value', 'cppValue', isolate='scriptState->isolate()', bailout_return_value='false'),
|
| 'property_attributes': property_attributes(interface, method),
|
|
|