RESOLVED FIXED149146
new Event() without parameter should throw
https://bugs.webkit.org/show_bug.cgi?id=149146
Summary new Event() without parameter should throw
Chris Dumez
Reported 2015-09-14 19:28:30 PDT
new Event() without parameter should throw because the type parameter is mandatory as per the specification: https://dom.spec.whatwg.org/#interface-event Both Firefox and Chrome throw in this case. WebKit creates an event whose type is the string "undefined".
Attachments
Patch (4.82 KB, patch)
2015-09-14 19:32 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews104 for mac-mavericks-wk2 (733.17 KB, application/zip)
2015-09-14 20:16 PDT, Build Bot
no flags
Archive of layout-test-results from ews101 for mac-mavericks (600.93 KB, application/zip)
2015-09-14 20:30 PDT, Build Bot
no flags
Patch (5.68 KB, patch)
2015-09-14 23:01 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-09-14 19:29:03 PDT
Chris Dumez
Comment 2 2015-09-14 19:32:24 PDT
Build Bot
Comment 3 2015-09-14 20:15:59 PDT
Comment on attachment 261162 [details] Patch Attachment 261162 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/172003 New failing tests: fast/dom/constructed-objects-prototypes.html
Build Bot
Comment 4 2015-09-14 20:16:03 PDT
Created attachment 261164 [details] Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 5 2015-09-14 20:30:02 PDT
Comment on attachment 261162 [details] Patch Attachment 261162 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/172031 New failing tests: fast/dom/constructed-objects-prototypes.html
Build Bot
Comment 6 2015-09-14 20:30:05 PDT
Created attachment 261165 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Chris Dumez
Comment 7 2015-09-14 23:01:40 PDT
WebKit Commit Bot
Comment 8 2015-09-15 15:11:09 PDT
Comment on attachment 261177 [details] Patch Clearing flags on attachment: 261177 Committed r189827: <http://trac.webkit.org/changeset/189827>
WebKit Commit Bot
Comment 9 2015-09-15 15:11:14 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.