| Index: Source/bindings/scripts/v8_attributes.py
|
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
|
| index 6869958a6763465f4531a1671bf271a41843935c..d0466d9ca63e470d67cebca4cb0238bc5df9cffe 100644
|
| --- a/Source/bindings/scripts/v8_attributes.py
|
| +++ b/Source/bindings/scripts/v8_attributes.py
|
| @@ -63,6 +63,9 @@ def generate_attribute(interface, attribute):
|
| is_reflect = 'Reflect' in extended_attributes
|
| if is_custom_element_callbacks or is_reflect:
|
| includes.add('core/dom/custom/CustomElementCallbackDispatcher.h')
|
| + # [PerWorldBindings]
|
| + if 'PerWorldBindings' in extended_attributes:
|
| + assert idl_type.is_wrapper_type or 'LogActivity' in extended_attributes, '[PerWorldBindings] should only be used with wrapper types: %s.%s' % (interface.name, attribute.name)
|
| # [RaisesException], [RaisesException=Setter]
|
| is_setter_raises_exception = (
|
| 'RaisesException' in extended_attributes and
|
|
|