WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
160065
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-07-21 19:19:41 PDT
Created
attachment 284299
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug