-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Finally test managed storage #4
Comments
Note that this code block does NOT work in Chrome: https://github.com/TinyWebEx/AutomaticSettings/blob/26c51c6ac40171731f11ec4855a93c591811e301/internal/LoadAndSave.js#L167-L178 and thus blocks #54. It causes all the settings to be identified as managed, which effectively disables the options page: A simple solution is the replace that block with |
Uhhh, that is unfortunate. The problem seems to be Chrom/ium only supports the sync and local settings storage, i.e. no managed at all. The question is just, why does |
No, Chrome does support managed storage (also see here). That was the first thing I checked when I noticed this issue... 🙂 BTW, there is a link to try it in Chrome at the bottom of this comment. Just rename the |
Hmm ok, so what's the issue in Chrome/ium then… maybe the fact that we use Promises is bad and it needs this polyfill? |
I am not sure, something in that code block... I stopped debugging it after I found that workaround, which allowed me to finish testing this extension in Chrome. I did use the WebExtension polyfill, as nothing would have worked without that. |
Tracked/tested in rugk/offline-qr-code#177
Guide is currently written for that other add-on, but can be adjusted for this one. (most is just the same)
The text was updated successfully, but these errors were encountered: