Skip to content

Commit

Permalink
2706 browser.storageManager.enabled added
Browse files Browse the repository at this point in the history
its added as default false, but looks like we'll need to check out what options the two prefs (dom from 51 and browser from 53) when true show in the options UI
  • Loading branch information
Thorin-Oakenpants committed Apr 26, 2017
1 parent 37b8ad6 commit 5cf2de5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1346,13 +1346,15 @@ user_pref("network.cookie.thirdparty.sessionOnly", true);
* [WARNING] this will break a LOT of sites' functionality.
* You are better off using an extension for more granular control ***/
// user_pref("dom.storage.enabled", false);
/* 2706: disable Storage API (FF51+)
/* 2706: disable Storage API
* The API gives sites the ability to find out how much space they can use, how much
* they are already using, and even control whether or not they need to be alerted
* before the user agent disposes of site data in order to make room for other things.
* [1] https://developer.mozilla.org/en-US/docs/Web/API/StorageManager
* [2] https://developer.mozilla.org/en-US/docs/Web/API/Storage_API ***/
user_pref("dom.storageManager.enabled", false);
* [2] https://developer.mozilla.org/en-US/docs/Web/API/Storage_API
* [3] https://blog.mozilla.org/l10n/2017/03/07/firefox-l10n-report-aurora-54/ ***/
user_pref("dom.storageManager.enabled", false); // (FF51+)
user_pref("browser.storageManager.enabled", false); // (FF53+)
/* 2707: clear localStorage and UUID when a WebExtension is uninstalled
* [NOTE] both preferences must be the same
* [1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/local
Expand Down

0 comments on commit 5cf2de5

Please sign in to comment.