-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency: storage onChanged #511
Comments
This issue discusses the behavior of onChanged listener:
In addition, what is the behavior of |
AFAIK the API considers the local copy (cache) to be fully representative of the remote state. |
Adding consensus labels - everyone is in favor of only firing |
The other discrepancy in the original issue was if the event should fire with all values in the storage area, or just the changed ones. Given the current behaviour in Chrome is to only include the changed values, I'm reluctant to look at changing that unless there are strong reasons to do so. |
If it's going to return everything then what's the point of calling it If Chromium can do it, Safari can do it, why can't Firefox do that? It's ridiculous. Their impementation date is already slow compared to others. |
Inconsistency: storage onChanged
I have comes across an inconsistency in the return of the storage
onChanged
event.(I am not aware of the return from other browsers.)
Example:
Firefox
Chrome
See also:
The text was updated successfully, but these errors were encountered: