Migrate the allow-muted pref
Categories
(Core :: Audio/Video, task, P2)
Tracking
()
People
(Reporter: evilpies, Assigned: daleharvey)
References
Details
Attachments
(1 file)
|
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Firefox has broken various autoplay prefs at least twice. The latest changes start ignoring media.autoplay.allow-muted, without migrating the pref. Can we migrate people with allow-muted: false to 5 = All-blocked?
| Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
Sure can take a look at adding that, is it a matter of adding a migration @ https://searchfox.org/mozilla-central/source/browser/components/BrowserGlue.jsm#3027 ? Never migrated a pref before
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
| Reporter | ||
Comment 3•6 years ago
|
||
Sorry, I don't know how we migrate prefs. I would agree that what you are doing seems reasonable.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 6•6 years ago
|
||
Thanks for fixing this, but this also needs to be uplifted to 69 now.
| Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 9078137 [details]
Bug 1562601 - Migrate media.autoplay.allow-muted pref.
Beta/Release Uplift Approval Request
- User impact if declined: Users who have set the aytoplay.allow-muted pref will see the autoplay behaviour reset when upgrading
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: * Install firefox 68
- Set media.autoplay.allow-muted to false
- Update to Nightly
- Verify browser.autoplay.default = 5
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Pref migration which is unlikely to cause unexpected bugs
- String changes made/needed:
| Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment on attachment 9078137 [details]
Bug 1562601 - Migrate media.autoplay.allow-muted pref.
Avoid unexpected changes in autoplay behavior when upgrading. Approved for 69.0b14.
Comment 9•6 years ago
|
||
I tried to uplift this to beta, but got a conflict:
grafting 559501:542a03a334cd "Bug 1562601 - Migrate media.autoplay.allow-muted pref. r=Gijs"
merging browser/components/BrowserGlue.jsm
warning: conflicts while merging browser/components/BrowserGlue.jsm! (edit, then use 'hg resolve --mark')
Updated•6 years ago
|
Comment 10•6 years ago
|
||
| bugherder uplift | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 11•6 years ago
|
||
I've tried to reproduce but I wasn't able to do that because can't update Firefox to a certain build only to the latest build.
I tested this issue using Firefox 69.0a1 (2019.07.01) I set media.autoplay.allow-muted to false then restart Firefox to update to the latest nightly (2019.08.19), verify that media.autoplay.default=5. Then using Firefox 68.0b3 set the pref to false, update Firefox to 69.0b14, verify the media.autoplay.default=5.
I can confirm this issue is fixed, I verified on nightly and on beta, Win 10 x64, Ubuntu 18.04 x64 and macOS 10.13.6.
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•