Chromium Code Reviews| Index: Source/bindings/scripts/v8_interface.py |
| diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
| index 18b877016dba8e116c024bbfd7f32b798b583ab4..1c9f5a10da1ead8d5f30bef6a1c98fb3fbac907c 100644 |
| --- a/Source/bindings/scripts/v8_interface.py |
| +++ b/Source/bindings/scripts/v8_interface.py |
| @@ -247,10 +247,10 @@ def interface_context(interface): |
| unscopeables = [] |
| for attribute in interface.attributes: |
| if 'Unscopeable' in attribute.extended_attributes: |
| - unscopeables.append(attribute.name) |
| + unscopeables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute))) |
|
haraken
2015/04/24 10:42:59
What happens if we simply don't add not-runtime-en
Jens Widell
2015/04/24 10:47:59
This code runs compile-time. How would we know her
haraken
2015/04/24 10:49:13
ah, you're totally right :)
|
| for method in interface.operations: |
| if 'Unscopeable' in method.extended_attributes: |
| - unscopeables.append(method.name) |
| + unscopeables.append((method.name, v8_utilities.runtime_enabled_function_name(method))) |
| context.update({ |
| 'any_type_attributes': any_type_attributes, |