| Index: third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| index dbfaf42eb4e608491a8a09dd5daac3acacc2ac18..6526ec94d7598537fa6acbda499b62a7d7307216 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| @@ -231,11 +231,14 @@ def interface_context(interface):
|
| if constructors or custom_constructors or named_constructor:
|
| if interface.is_partial:
|
| raise Exception('[Constructor] and [NamedConstructor] MUST NOT be'
|
| - ' specified on partial interface definitions:'
|
| + ' specified on partial interface definitions: '
|
| '%s' % interface.name)
|
|
|
| includes.add('bindings/core/v8/V8ObjectConstructor.h')
|
| includes.add('core/frame/LocalDOMWindow.h')
|
| + elif 'Measure' in extended_attributes or 'MeasureAs' in extended_attributes:
|
| + raise Exception('[Measure] or [MeasureAs] specified for interface without a constructor: '
|
| + '%s' % interface.name)
|
|
|
| # [Unscopeable] attributes and methods
|
| unscopeables = []
|
|
|