RESOLVED FIXED 160320
Parameters to Event.initEvent() should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160320
Summary Parameters to Event.initEvent() should be mandatory
Chris Dumez
Reported 2016-07-28 14:55:51 PDT
Parameters to Event.initEvent() should be mandatory: - https://dom.spec.whatwg.org/#interface-event Firefox agrees with the specification. Chrome does not.
Attachments
Patch (14.26 KB, patch)
2016-07-28 14:58 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-07-28 14:58:18 PDT
Darin Adler
Comment 2 2016-07-28 15:55:20 PDT
Comment on attachment 284822 [details] Patch Who could possibly love those two mandatory booleans? Yuck.
Chris Dumez
Comment 3 2016-07-28 15:58:59 PDT
(In reply to comment #2) > Comment on attachment 284822 [details] > Patch > > Who could possibly love those two mandatory booleans? Yuck. Nowadays, people are supposed to use the Event constructors that take a dictionary instead of those init functions.
WebKit Commit Bot
Comment 4 2016-07-28 16:16:21 PDT
Comment on attachment 284822 [details] Patch Clearing flags on attachment: 284822 Committed r203848: <http://trac.webkit.org/changeset/203848>
WebKit Commit Bot
Comment 5 2016-07-28 16:16:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.