Sync Block websites from automatically playing sound option
Categories
(Firefox :: Sync, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: a.polivanchuk, Assigned: a.polivanchuk, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The option "Block websites from automatically playing sound" should be synchronized using Firefox Account.
Currently, it doesn't sync when changed.
String id: permissions-block-autoplay-media2
I couldn't find the preference id for this option in privacy.xul
https://searchfox.org/mozilla-central/source/browser/components/preferences/in-content/privacy.xul#578
Comment 1•6 years ago
|
||
For more exotic prefs like that, you can usually search for the checkbox ID (in this case, autoplayMediaCheckbox
). One of the results is https://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/browser/components/preferences/in-content/privacy.js#356-357, and toggleAutoplayMedia
has the pref we're looking for: https://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/browser/components/preferences/in-content/privacy.js#1113
Want to submit a patch? :-)
Assignee | ||
Comment 2•6 years ago
|
||
So here I have to add the following string under the // Preferences to be synced by default in firefox.js
pref("services.sync.prefs.sync.media.autoplay.default", true);
Comment 3•6 years ago
|
||
Yes.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•