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

Unified Diff: Source/core/events/Event.idl

Issue 1154943009: bindings: Remove [EventConstructor] and [InitializedByEventConstructor] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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: Source/core/events/Event.idl
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl
index 33db2493168075b220e479010e2eeef60905db30..999b6d5ee65cbf1dfa5e40246e9f917c77dc4ab7 100644
--- a/Source/core/events/Event.idl
+++ b/Source/core/events/Event.idl
@@ -21,9 +21,9 @@
// https://dom.spec.whatwg.org/#interface-event
[
+ Constructor(DOMString type, optional EventInit eventInitDict),
+ Exposed=(Window,Worker),
WillBeGarbageCollected,
- EventConstructor,
- Exposed=(Window,Worker)
] interface Event {
readonly attribute DOMString type;
readonly attribute EventTarget? target;
@@ -38,8 +38,8 @@
void stopPropagation();
void stopImmediatePropagation();
- [InitializedByEventConstructor] readonly attribute boolean bubbles;
- [InitializedByEventConstructor] readonly attribute boolean cancelable;
+ readonly attribute boolean bubbles;
+ readonly attribute boolean cancelable;
void preventDefault();
readonly attribute boolean defaultPrevented;

Powered by Google App Engine
This is Rietveld 408576698