| Index: Source/bindings/scripts/unstable/v8_interface.py
|
| diff --git a/Source/bindings/scripts/unstable/v8_interface.py b/Source/bindings/scripts/unstable/v8_interface.py
|
| index d1b9714bc82cf6b1ad5cd02feba75a43d68008e4..1b5fcbdc9b5c29e8461e4ece3dbde15c1c79e0d9 100644
|
| --- a/Source/bindings/scripts/unstable/v8_interface.py
|
| +++ b/Source/bindings/scripts/unstable/v8_interface.py
|
| @@ -107,9 +107,14 @@ def generate_interface(interface):
|
|
|
| # [EventConstructor]
|
| has_event_constructor = 'EventConstructor' in extended_attributes
|
| + has_any_type_attributes = any(attribute
|
| + for attribute in interface.attributes
|
| + if attribute.idl_type == 'any')
|
| if has_event_constructor:
|
| includes.update(['bindings/v8/Dictionary.h',
|
| 'bindings/v8/V8ObjectConstructor.h'])
|
| + if has_any_type_attributes:
|
| + includes.add('bindings/v8/SerializedScriptValue.h')
|
|
|
| template_contents = {
|
| 'conditional_string': conditional_string(interface), # [Conditional]
|
| @@ -121,6 +126,7 @@ def generate_interface(interface):
|
| 'has_custom_to_v8': has_extended_attribute_value(interface, 'Custom', 'ToV8'), # [Custom=ToV8]
|
| 'has_custom_wrap': has_extended_attribute_value(interface, 'Custom', 'Wrap'), # [Custom=Wrap]
|
| 'has_event_constructor': has_event_constructor,
|
| + 'has_any_type_attributes': has_any_type_attributes,
|
| 'has_visit_dom_wrapper': (
|
| # [Custom=Wrap], [GenerateVisitDOMWrapper]
|
| has_extended_attribute_value(interface, 'Custom', 'VisitDOMWrapper') or
|
|
|