WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
153294
MediaKeys.createSession doesn't do case-insensitive comparison of mime type
https://bugs.webkit.org/show_bug.cgi?id=153294
Summary
MediaKeys.createSession doesn't do case-insensitive comparison of mime type
Ryosuke Niwa
Reported
2016-01-20 16:58:52 PST
createSession should be ignoring cases just like all other functions that check MIME types. This results in (new WebKitMediaKeys('com.apple.fps.2_0')).createSession('KeyRelease', new Uint8Array(1)) throwing an exception instead of creating a session object.
Attachments
Test demonstrating the problem
(605 bytes, text/html)
2016-01-20 16:59 PST
,
Ryosuke Niwa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2016-01-20 16:59:28 PST
Created
attachment 269405
[details]
Test demonstrating the problem
Darin Adler
Comment 2
2016-01-20 17:22:38 PST
OK, I’ll fix this soon, maybe tonight.
Ryosuke Niwa
Comment 3
2016-01-20 17:26:04 PST
(In reply to
comment #2
)
> OK, I’ll fix this soon, maybe tonight.
So I think the test needs to be checked into the internal repo since this feature isn't enabled on some machines.
Darin Adler
Comment 4
2016-01-24 17:20:30 PST
I’ll fix this but someone else has to check in the test somewhere first. I talked to Jer about that.
Ahmad Saleem
Comment 5
2023-10-12 13:36:08 PDT
Is this still applicable?
Darin Adler
Comment 6
2023-10-13 06:41:13 PDT
I think it is.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug