FYI: user_pref("dom.webnotifications.enabled", false); can cause site breakage
user_pref("dom.webnotifications.enabled", false);
prevented an online shop to display product images.
It took me a while to troubleshoot this issue so I decided to share. I thought this pref has nothing to do with image content loading. The URL is not popular internationally, so I won't share it. Pants you can have it via email if you're interested.
Hilarious! Please check your inbox.
Pants, you can not replicate the problem because the site has been updated. It still requires dom.storage to be enabled otherwise categories and product browsing doesn't work (FF52).
It's a pity, because we won't understand what dom.webnotifications.enabled has to do with image loading unless we find another site with the same issue.
I tested it properly 23 days ago. Brand new profile + user.js, no plugins, no port blocking, etc. user_pref("dom.storage.enabled", true); user_pref("dom.webnotifications.enabled", true); were required to display product images.
I use these: user_pref("dom.webnotifications.serviceworker.enabled", false); user_pref("dom.serviceWorkers.enabled", false);
Maybe. However that means user_pref("dom.webnotifications.enabled", true); bypass user_pref("dom.indexedDB.enabled", false); which is strange.
Time to close this thread? I will keep webnotifications disabled.
Did you test that? Or did I say that?
No, no, it's just a (logical) assumption. I have indexedDB disabled by default. The site required dom storage and webnotifications to display images. So how can user_pref("dom.webnotifications.enabled", true); store data into indexedDB when indexedDB is disabled?
The site in question has been updated. The issue is not common, so I suggest we just close this thread until we find another site that loads images / content via webnotifications.
P.S.: the site has been restored! Right now it requires
user_pref("dom.storage.enabled", true);
user_pref("dom.webnotifications.enabled", true);
to display images,
I guess that change was just for Halloween.
Yes, they are A/B testing something.
Right now it requires only user_pref("dom.storage.enabled", true); to display images.
user_pref("dom.webnotifications.enabled", true); is not required.