Bug 148738 - document.createEvent("eventname") should do a case-insensitive match on the event name
Summary: document.createEvent("eventname") should do a case-insensitive match on the e...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://dom.spec.whatwg.org/#dom-docu...
Keywords: InRadar, WebExposed
Depends on:
Blocks:
 
Reported: 2015-09-03 10:30 PDT by Chris Dumez
Modified: 2015-09-03 13:12 PDT (History)
5 users (show)

See Also:


Attachments
Patch (14.59 KB, patch)
2015-09-03 10:34 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.