Closed
Bug 1368596
Opened 7 years ago
Closed 7 years ago
Add telemetry to track number of deprecated configurations passed to navigator.requestMediaKeySystemAccess
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
Details
Attachments
(1 file)
In bug 1355252 I'm trying to remove support for some deprecated EME APIs. This change would make our implementation stricter, and so we'd reject some requests to access EME that today would be granted. So I'd like telemetry to track how often we'd reject requests that would otherwise succeed if we make the changes in bug 1355252.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8872508 [details] Bug 1368596 - Add telemetry to track how often deprecated configs are passed to navigator.requestMediaKeySystemAccess(). https://reviewboard.mozilla.org/r/144052/#review147730 r+, assuming the answer is "no" below: ::: dom/media/eme/MediaKeySystemAccessManager.cpp:206 (Diff revision 1) > + if (warnings.Get("MediaEMENoCapabilitiesDeprecatedWarning")) { > + Telemetry::Accumulate( > + Telemetry::HistogramID::MEDIA_EME_REQUEST_DEPRECATED_WARNINGS, 1); > + EME_LOG("MEDIA_EME_REQUEST_DEPRECATED_WARNINGS " > + "MediaEMENoCapabilitiesDeprecatedWarning"); > + } else if (warnings.Get("MediaEMENoCodecsDeprecatedWarning")) { `else if` -- can't have both at the same time?
Attachment #8872508 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 3•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8872508 [details] Bug 1368596 - Add telemetry to track how often deprecated configs are passed to navigator.requestMediaKeySystemAccess(). https://reviewboard.mozilla.org/r/144052/#review147730 > `else if` -- can't have both at the same time? We can't have both at the same time. The "codecs" check happens on a MediaKeySystemCapability's contentType attribute, but if there's no MediaKeySystemCapability (which is what the first warning checks) then there's no contentType to check.
Assignee | ||
Comment 4•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b29929108b33
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8872508 [details] Bug 1368596 - Add telemetry to track how often deprecated configs are passed to navigator.requestMediaKeySystemAccess(). https://reviewboard.mozilla.org/r/144052/#review147914 datareview+
Attachment #8872508 -
Flags: review?(francois) → review+
Assignee | ||
Comment 6•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=587dd0b6c84e
Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/33c7495a708fc89bc8e730daab1b13b4b93b605e Bug 1368596 - Add telemetry to track how often deprecated configs are passed to navigator.requestMediaKeySystemAccess(). r=gerald,r=francois
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/33c7495a708f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
See Also: → 1672213
You need to log in
before you can comment on or make changes to this bug.
Description
•