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

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

Issue 2760173002: Revert of Make initEvent's first argument non-optional (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/Event.idl
diff --git a/third_party/WebKit/Source/core/events/Event.idl b/third_party/WebKit/Source/core/events/Event.idl
index 518ce0ec0da58067521cf78a71533b8f76b960a7..4a9d2b027c62f7e9620289f96edf8449857a564d 100644
--- a/third_party/WebKit/Source/core/events/Event.idl
+++ b/third_party/WebKit/Source/core/events/Event.idl
@@ -49,7 +49,10 @@
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp;
- [Measure] void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false);
+ // FIXME: initEvent()'s arguments should not be optional.
+ [Measure] void initEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable);
// Non-standard APIs
[MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement;
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698