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

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

Issue 2579993002: Make initEvent's first argument non-optional (Closed)
Patch Set: Update external/wpt/interfaces-expected.txt 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 4a9d2b027c62f7e9620289f96edf8449857a564d..518ce0ec0da58067521cf78a71533b8f76b960a7 100644
--- a/third_party/WebKit/Source/core/events/Event.idl
+++ b/third_party/WebKit/Source/core/events/Event.idl
@@ -49,10 +49,7 @@
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp;
- // 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);
+ [Measure] void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false);
// 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