Bug 311696

Summary: Align behavior of document.createEvent() with Gecko and Blink
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-04-07 18:27:06 PDT
Align behavior of document.createEvent() with Gecko and Blink. We now throw an exception when passing the strings: "MutationEvents", "MutationEvent", "PopStateEvent", "WheelEvent".
Attachments
Chris Dumez
Comment 1 2026-04-07 18:28:44 PDT
EWS
Comment 2 2026-04-08 11:49:34 PDT
Committed 310792@main (aed4e5fb714e): <https://commits.webkit.org/310792@main> Reviewed commits have been landed. Closing PR #62241 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-04-08 11:50:14 PDT
Note You need to log in before you can comment on or make changes to this bug.