RESOLVED FIXED160065
Parameter to Document.createEvent() should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160065
Summary Parameter to Document.createEvent() should be mandatory
Chris Dumez
Reported 2016-07-21 16:54:26 PDT
Parameter to Document.createEvent() should be mandatory as per the specification: - https://dom.spec.whatwg.org/#document We already throw anyway when the parameter is omitted because we use "undefined" as event type, which is invalid. However, we throw the wrong exception. Firefox and Chrome agree with the specification here.
Attachments
Patch (10.71 KB, patch)
2016-07-21 19:19 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-07-21 19:19:41 PDT
Chris Dumez
Comment 2 2016-07-21 20:30:17 PDT
Comment on attachment 284299 [details] Patch Clearing flags on attachment: 284299 Committed r203550: <http://trac.webkit.org/changeset/203550>
Chris Dumez
Comment 3 2016-07-21 20:30:23 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.