Open Bug 1627056 Opened 6 years ago Updated 1 month ago

Make UAWidget use the fallback mechanism for preferences passed to videocontrols

Categories

(Toolkit :: Video/Audio Controls, task, P3)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

References

Details

Right now, we pass a small set of preferences into the videocontrols UAWidget: https://searchfox.org/mozilla-central/rev/4ccefc3181f9d237ef4ca8bd17b4e7c101ddf7b5/toolkit/actors/UAWidgetsChild.jsm#76-79

These preferences, if somehow missing, will probably cause this whole mechanism to fail. We should use the get*Pref(id, fallback) fallback mechanism to ensure that every pref read has a sane fallback.

This was suggested by jaws in https://phabricator.services.mozilla.com/D68822.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.