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

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

Issue 367663002: Make [TreatNullAs=NullString] DOMString arguments nullable instead (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/core/dom/shadow/ShadowRoot.idl ('k') | Source/core/html/canvas/CanvasRenderingContext2D.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventTarget.idl
diff --git a/Source/core/events/EventTarget.idl b/Source/core/events/EventTarget.idl
index 69a4bc18d7b6e8986ae9c3dbe76371cd5ae3ba73..c83100d24701c4bd417f8856c59ece3d6cc9fdad 100644
--- a/Source/core/events/EventTarget.idl
+++ b/Source/core/events/EventTarget.idl
@@ -24,10 +24,10 @@
] interface EventTarget {
// FIXME: first 2 args should be required, but throwing TypeError breaks
// legacy content. http://crbug.com/353484
- void addEventListener([TreatNullAs=NullString] optional DOMString type,
+ void addEventListener(optional DOMString? type,
optional EventListener listener,
optional boolean useCapture);
- void removeEventListener([TreatNullAs=NullString] optional DOMString type,
+ void removeEventListener(optional DOMString? type,
optional EventListener listener,
optional boolean useCapture);
[RaisesException] boolean dispatchEvent(Event event);
« no previous file with comments | « Source/core/dom/shadow/ShadowRoot.idl ('k') | Source/core/html/canvas/CanvasRenderingContext2D.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698