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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.idl

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Also freeze named properties objects Created 4 years, 2 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/core/events/EventTarget.idl
diff --git a/third_party/WebKit/Source/core/events/EventTarget.idl b/third_party/WebKit/Source/core/events/EventTarget.idl
index dcbe5fcb89c8e3348b7b7d9fc3ada88018cbd9b3..d6ecaccd1214bdbdaf152c8fd9b2059bd9bcdb7a 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.idl
+++ b/third_party/WebKit/Source/core/events/EventTarget.idl
@@ -22,7 +22,8 @@
[
CheckSecurity=Receiver,
- Exposed=(Window,Worker)
+ Exposed=(Window,Worker),
+ ImmutablePrototype,
haraken 2016/10/27 08:47:05 Why do you want to have [ImmutablePrototype] on Ev
Dan Ehrenberg 2016/10/27 09:03:45 Because EventTarget.prototype is in the prototype
] interface EventTarget {
[Custom=(CallPrologue,CallEpilogue)] void addEventListener(DOMString type, EventListener? listener, optional (AddEventListenerOptions or boolean) options);
[Custom=(CallPrologue,CallEpilogue)] void removeEventListener(DOMString type, EventListener? listener, optional (EventListenerOptions or boolean) options);

Powered by Google App Engine
This is Rietveld 408576698