Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_interface.py

Issue 2341673004: [Binding] Replace 'Unscopeable' with 'Unscopable' (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a8b70905c090b87faa4160b7ed00f0b1f853dff6..cda8e962d12e0c87185a6e132f23814ebbbdcdde 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
@@ -295,14 +295,14 @@ def interface_context(interface):
raise Exception('[Measure] or [MeasureAs] specified for interface without a constructor: '
'%s' % interface.name)
- # [Unscopeable] attributes and methods
- unscopeables = []
+ # [Unscopable] attributes and methods
+ unscopables = []
for attribute in interface.attributes:
- if 'Unscopeable' in attribute.extended_attributes:
- unscopeables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute)))
+ if 'Unscopable' in attribute.extended_attributes:
+ unscopables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute)))
for method in interface.operations:
- if 'Unscopeable' in method.extended_attributes:
- unscopeables.append((method.name, v8_utilities.runtime_enabled_function_name(method)))
+ if 'Unscopable' in method.extended_attributes:
+ unscopables.append((method.name, v8_utilities.runtime_enabled_function_name(method)))
# [CEReactions]
setter_or_deleters = (
@@ -323,7 +323,7 @@ def interface_context(interface):
interface_length(constructors + custom_constructors),
'is_constructor_raises_exception': extended_attributes.get('RaisesException') == 'Constructor', # [RaisesException=Constructor]
'named_constructor': named_constructor,
- 'unscopeables': sorted(unscopeables),
+ 'unscopables': sorted(unscopables),
})
# Constants
« no previous file with comments | « third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt ('k') | third_party/WebKit/Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698