Firefox/Block autoplay in background

From MozillaWiki
< Firefox
Revision as of 08:50, 14 June 2017 by Bobbychien (talk | contribs) (→‎Target Milestone: Change landing date)
Jump to navigation Jump to search

Overview

Background

The Block Playback feature is designed to block media with enabled autoplay if the tabs are opened in the background. Videos which autoplay in the background will now have their load deferred until the tab is visible for the first time.
This avoids autoplay during session restore and premature playback.Resources will still be preloaded but Firefox will delay the start of playback until the tab that contain a video with an enabled autoplay is visited. Once a tab / RenderFrame has ever played media before, it's allowed to continue to autoplay/autoload indefinitely; this is to support playlist type applications.The main advantages of the Block Playback feature is that it prevents obviously user annoyance but also conserves power as Firefox will only consume power once the tab is foregrounded

Overall Project Health

[GREEN, ON TRACK]

  • QA has checked 100% of all bugs, bringing 5 more bugs for further clarification and follow-up.
  • In total, we have 17 bugs for tracking, 17 out of these 17 bugs are resolved, representing a 100% completion rate.

Target Milestone

Firefox54 Firefox 56

Engineering Project Manager

Rachelle Yang

Engineer Owner

Alastor Wu

UX designers

Mark Liang

QA Contact

MVP Scope-Bug Tracking

  • bug 1308154 -[meta] Block autoplay media until the tab is visible at first time

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 406 [1] => Not Acceptable ) ) 1


  • bug 1350869 -Bug 1350869 -[QA] Block Playback feature tracking bug

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 406 [1] => Not Acceptable ) ) 1


UX Spec

Signoff-Report

Signoff-Report Summary

  • Mid- Auroa Signoff- RED *
  • Recommendation : DON'T SHIP IT.( Targeted GA: Firefox 54 - June 13, 2017)
  • Testing status: COMPLETED (100%).
  • 4 passed (9%), 0 blocked (0%), 0 failed with known bugs (0%), 40 failed with new bugs (91%)

Signoff-Report Details

  • Proposed course of action: fix 1347758, 1349201 and 1349202 in order to make this feature eligible for shipping with Fx54.
  • New bugs uncovered during sign off: https://mzl.la/2nwWIIh.
  • Reason: 91% of our tests failed with a total of 7 bugs - https://mzl.la/2nwWIIh.
  • Bug 1347758 - HTML5 video/audio doesn't play if node was removed in background tab –> RESOLVED FIXED, 03/24 landed on Firefox55.
  • Bug 1349201 - Mute button is not working on several websites–> –> RESOLVED WORKSFORME, 03/21
  • Bug 1349202 - Block Playback feature is not working as intended on several websites–: Duplicate of Bug 1347758
  • Bug 1350869 - [QA] Block Playback feature tracking bug

Test Case and Test plan