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

Unified Diff: Source/bindings/templates/interface_base.cpp

Issue 1100053002: Revert of IDL: Add support for [Unscopeable] on attributes and methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/bindings/scripts/v8_interface.py ('k') | Source/bindings/tests/idls/core/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface_base.cpp
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
index c9c4277afa4cf80ec2462351c1b83bd1d99811cc..ea5c732e40872d01d3d2a217d839c10bde592e0b 100644
--- a/Source/bindings/templates/interface_base.cpp
+++ b/Source/bindings/templates/interface_base.cpp
@@ -418,14 +418,6 @@
{% endfilter %}{# per_context_enabled() #}
{% endif %}
{# End special operations #}
- {% if unscopeables %}
- v8::Local<v8::Context> context(isolate->GetCurrentContext());
- v8::Local<v8::Object> unscopeables(v8::Object::New(isolate));
- {% for name in unscopeables %}
- unscopeables->ForceSet(context, v8AtomicString(isolate, "{{name}}"), v8::True(isolate)).FromJust();
- {% endfor %}
- prototypeTemplate->Set(v8::Symbol::GetUnscopables(isolate), unscopeables);
- {% endif %}
{% if has_custom_legacy_call_as_function %}
functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler({{v8_class}}::legacyCallCustom);
{% endif %}
« no previous file with comments | « Source/bindings/scripts/v8_interface.py ('k') | Source/bindings/tests/idls/core/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698