You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a difference between Firefox and Chromium on the storage.onChanged event. I don't know if this is the right place, but it might be nice to standardize this behavior. (Or maybe it's just a bug in Firefox or Chromium.)
In Firefox, the listeners of browser.storage.onChanged are fired when you set the same values.
In Chromium, the listeners are fired only if you set a different value.
storage.onChanged indicates the value to actually have been changed. I do not see a use case in which it would be useful to also have the event fire when the value has not changed.
Removing the unneeded event firing seems like a potential performance improvement for Firefox and potentially other browsers.
Hi,
I noticed a difference between Firefox and Chromium on the
storage.onChanged
event. I don't know if this is the right place, but it might be nice to standardize this behavior. (Or maybe it's just a bug in Firefox or Chromium.)browser.storage.onChanged
are fired when you set the same values.testcase.zip:
The text was updated successfully, but these errors were encountered: