Closed
Bug 1307248
Opened 8 years ago
Closed 8 years ago
Use Is{Widevine,Primetime}KeySystem(string) instead of !CompareUTF8toUTF16(kEMEKeySystem*, string)
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Whenever I use !CompareUTF8toUTF16(kEMEKeySystem*, string) to detect a keysystem string, I forget to include the '!' on the Compare*() call.
We should use have appropriately named helpers, so that it's easier to use.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8797277 [details]
Bug 1307248 - Add Is{Primetime,Widevine}KeySystem() functions.
https://reviewboard.mozilla.org/r/82876/#review81594
Attachment #8797277 -
Flags: review?(jwwang) → review+
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8797278 [details]
Bug 1307248 - Replace uses of CompareUTF8toUTF16(kEMEKeySystem*) with Is*KeySystem().
https://reviewboard.mozilla.org/r/82878/#review81596
Attachment #8797278 -
Flags: review?(jwwang) → review+
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1de4e6e383b9
Add Is{Primetime,Widevine}KeySystem() functions. r=jwwang
https://hg.mozilla.org/integration/autoland/rev/49a429cb34a6
Replace uses of CompareUTF8toUTF16(kEMEKeySystem*) with Is*KeySystem(). r=jwwang
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1de4e6e383b9
https://hg.mozilla.org/mozilla-central/rev/49a429cb34a6
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•