Closed
Bug 1299065
Opened 8 years ago
Closed 8 years ago
Telemetry to support background video decoder suspend: invisible elements in the foreground should also be recorded
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: kaku, Assigned: kaku)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The HTMLMediaElement::NotifyOwnerDocumentActivityChangedInternal() calls HTMLMediaElement::HiddenVideoStart() to record VIDEO_HIDDEN_PLAY_TIME_MS, VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE and VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE for video elements in background tabs. We should also do it for invisible video elements in the foreground tab via HTMLMediaElement::OnVisibilityChange().
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8786251 [details] Bug 1299065 - invisible elements in the foreground should also be recorded; https://reviewboard.mozilla.org/r/75260/#review73110 Good catch, thank you.
Attachment #8786251 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Thanks for the review! Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b9b774f0472&selectedJob=26642732 The fails should have nothing to do with this change.
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/06bf533a2bdd invisible elements in the foreground should also be recorded; r=gerald
Keywords: checkin-needed
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/06bf533a2bdd
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Comment 6•8 years ago
|
||
For reference, I backed this bug out and then relanded a tweaked version (to handle the difference in the visibility api that this patch use). Bug 1284350 is where the back out and relanding happened. I also plan to request uplift of those patches to aurora.
You need to log in
before you can comment on or make changes to this bug.
Description
•