Add ability to disable PiP interventions.
Categories
(Web Compatibility :: Interventions, task, P2)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: miketaylr, Assigned: twisniewski, NeedInfo)
References
Details
Attachments
(1 file)
Currently we have prefs that allow you to disable injections and overrides, but nothing for PiP interventions. It would be useful to be able to disable them when testing things during development.
Do we also want to display these in about:compat? Or is that not very useful?
Reporter | ||
Comment 1•5 years ago
|
||
Adam, how important do you think this is?
Reporter | ||
Comment 3•5 years ago
|
||
Adam, how important do you think this is?
I should clarify -- disabling globally seems important. How important is showing these in about:compat?
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
It's worth noting that a restart seems to be required before pref flips for picture-in-picture interventions have an effect. That said, the patch adds these prefs (which we can tweak as desired before landing):
- global pref for all interventions:
extensions.webcompat.enable_picture_in_picture_overrides
- per-intervention pref:
enable_picture_in_picture_overrides.disabled_picture_in_picture_overrides.{twitch|instagram|etc}
Comment 6•5 years ago
|
||
(In reply to Thomas Wisniewski [:twisniewski] from comment #5)
It's worth noting that a restart seems to be required before pref flips for picture-in-picture interventions have an effect.
This is a bit worrying to me, and I see a huge risk of confusing here. extensions.webcompat.perform_injections
and extensions.webcompat.perform_ua_overrides
both work without restarting and will actually reset themselves on restart, which is in direct contrast to the PiP pref.
I assume you have investigated that, and did not find a way to disable the interventions without a restart?
Assignee | ||
Comment 7•5 years ago
|
||
After chatting with :mstriemer, I think we can do this by adding a new observer to the picture-in-picture code which the addon can use to signal whenever the interventions change (right now it only reads the values once).
Comment 9•5 years ago
|
||
bugherder |
Description
•