Bug 148738

Summary: document.createEvent("eventname") should do a case-insensitive match on the event name
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://dom.spec.whatwg.org/#dom-document-createevent
Attachments:
Description Flags
Patch none

Description Chris Dumez 2015-09-03 10:30:49 PDT
document.createEvent("eventname") should do a case-insensitive match on the event name:
https://dom.spec.whatwg.org/#dom-document-createevent

WebKit does a case-sensitive match.

Firefox and Chrome match the specification.
Comment 1 Chris Dumez 2015-09-03 10:31:34 PDT
rdar://problem/22558709
Comment 2 Chris Dumez 2015-09-03 10:34:45 PDT
Created attachment 260495 [details]
Patch
Comment 3 WebKit Commit Bot 2015-09-03 13:12:23 PDT
Comment on attachment 260495 [details]
Patch

Clearing flags on attachment: 260495

Committed r189282: <http://trac.webkit.org/changeset/189282>
Comment 4 WebKit Commit Bot 2015-09-03 13:12:29 PDT
All reviewed patches have been landed.  Closing bug.