mozfreddyb / webext-firstpartyisolation

Enable First Party Isolation Pref
Mozilla Public License 2.0
55 stars 4 forks source link

extension should change icon when pref is being flipped #11

Open mozfreddyb opened 5 years ago

mozfreddyb commented 5 years ago

The user (or another extension) might flip the pref. Now that onChange looks supported, we should at least make sure the indicator is always right.

mozfreddyb commented 5 years ago

We're blocked by Bug 1410412: Implement BrowserSetting.onChange.

We could use setTimeout to poll the value of the pref but that would likely be bad for performance.