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.
Created attachment 284299 [details] Patch
Comment on attachment 284299 [details] Patch Clearing flags on attachment: 284299 Committed r203550: <http://trac.webkit.org/changeset/203550>
All reviewed patches have been landed. Closing bug.