Closed Bug 1121181 Opened 9 years ago Closed 9 years ago

Setting the dom.indexedDB.enabled pref to false causes multiple problems, like extensions not starting or not installing properly

Categories

(Firefox :: Settings UI, defect)

35 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1079355

People

(Reporter: u501310, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150108202552

Steps to reproduce:

1) Set the "Maintain Offline Storage" permission for "All Sites" to "Block" - this results in the dom.indexedDB.enabled pref being set to "false" in about:config
2) a) Try to install one of these extensions: Flash OnOff, Self-Destructing Cookies (maybe it also happens with other extensions - haven't checked)
    or
    b) If one of those extensions are already installed, then just try to uninstall it then restart Firefox, or just re-start Firefox without uninstalling it first


Actual results:

When trying to install one of the mentioned extensions with dom.indexedDB.enabled="false", the installation fails with the error message "[extension] could not be installed because Firefox could not modify the needed file" shown.

When trying to uninstall the extension, Firefox says it was uninstalled, but after restart, it still appears as installed in the Addons Manager.

When just restarting Firefox without uninstalling any of the mentioned extensions first, after restart, the extensions don't work properly (ex., the toolbar buttons or any other UI elements that the extension was supposed to add are not available in Firefox's toolbar/UI).


Expected results:

The functionality of the installed addons should not be affected by the "Maintain Offline Storage" permission for "All Sites" being set to "Block". I'm not very knowledgeable about Firefox's inner-workings, but I'm assuming that this is caused by dom.indexedDB.enabled pref being set to "false", which probably also applies to js scripts running in the chrome: contex? It should be possible to disable offline storage (including IndexedDb) only for all of the actual (content) websites, without affecting the chrome-context scripts which are used by those extensions.
Summary: Setting the dom.indexedDB.enabled pref to false causes multiple problems, like extensions not stating → Setting the dom.indexedDB.enabled pref to false causes multiple problems, like extensions not starting or installing properly
Summary: Setting the dom.indexedDB.enabled pref to false causes multiple problems, like extensions not starting or installing properly → Setting the dom.indexedDB.enabled pref to false causes multiple problems, like extensions not starting or not installing properly
Component: Untriaged → Preferences
This was just fixed in Nightly, now on Aurora. :-)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.