| 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 a2f12e4120679c3de74bc21b148cbb439c6c3987..f79f6ea0ac30c4139a2dd6210f30547185f9305c 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
| @@ -68,6 +68,13 @@ def method_context(interface, method, is_visible=True):
|
| is_static = method.is_static
|
| name = method.name
|
|
|
| + # [OriginTrialEnabled]
|
| + # TODO(iclelland): Allow origin trials on methods
|
| + # (crbug.com/621641)
|
| + if v8_utilities.origin_trial_feature_name(method):
|
| + raise Exception('[OriginTrialEnabled] cannot be specified on '
|
| + 'individual methods: %s.%s' % (interface.name, method.name))
|
| +
|
| if is_visible:
|
| idl_type.add_includes_for_type(extended_attributes)
|
|
|
|
|