user.js icon indicating copy to clipboard operation
user.js copied to clipboard

Storage API blah blah & Bug 1418931

Open Thorin-II opened this issue 9 years ago • 8 comments

snip

Thorin-II avatar Nov 25 '17 04:11 Thorin-II

https://bugzilla.mozilla.org/show_bug.cgi?id=1418931

until it is fixed, we disable Storage API

what do you mean? dom.storage.enabled ? Because afaik disabling the .storageManager.* stuff doesn't really change anything - you still won't be able to delete FPI-ed IDB etc.

earthlng avatar Nov 25 '17 12:11 earthlng

Site storage - the data stored for a Web site which is managed by the Storage Standard

It manages the stuff but doesn't actually control or disable any of the "real" APIs. I mean, feel free to change it but I don't think it makes any sense.

earthlng avatar Nov 25 '17 12:11 earthlng

Issue 2: FPI IDB entries seem to be cleared with recent history as per ticket description. But they fail on that new UI button (so why open users up to that?). Question: is FPI'd IDB cleared on close working?

no it's the opposite. A: no

earthlng avatar Nov 25 '17 13:11 earthlng

Keep'em in false status, Yeah?

Atavic avatar Nov 25 '17 18:11 Atavic

For the x-ed and last time: https://developer.mozilla.org/en-US/docs/Web/API/StorageManager

The StorageManager interface of the the Storage API provides an interface for managing persistance permissions and estimating available storage.

Methods StorageManager.estimate() - Returns a StorageEstimate object containing usage and quota numbers for your origin. StorageManager.persist() - Returns true if the user agent is able to persist your site's storage. StorageManager.persisted() - Returns true if persistence has already been granted for your site's storage.

FF doesn't even return the exact "usage and quota numbers" but rather an estimate "to obscure the exact size of the data used by a given origin, to prevent these values from being used for fingerprinting purposes." The StorageManager itself DOES NOT STORE ANYTHING!!

Please explain what's so terribly bad about that?? I'm sorry I just don't see it. If it makes you feel better to disable them, go ahead and do it.

earthlng avatar Nov 29 '17 11:11 earthlng

The Storage API is now available only to secure contexts (FF 55): https://github.com/Fyrd/caniuse/issues/3122#issuecomment-308404089

Atavic avatar Nov 29 '17 18:11 Atavic

The StorageManager itself seems to do nothing, it's just a tool for managing storage.

The Storage_API : https://developer.mozilla.org/en-US/docs/Web/API/Storage_API

Site storage is a mystery. Anyway, I'm inclined to deny all kinds of storage unless i have issues.

2glops avatar Nov 29 '17 19:11 2glops

As a strawperson, here are the 7 things that we believe matter most in privacy:

  • Is you data used for secondary use? And is it shared with 3rd parties?
  • Is your data bartered?
  • Under what terms is your data shared with the government and with law enforcement?
  • Does the company take reasonable measures to protect your data in all phases of collection and storage?
  • Does the service give you control of your data?
  • Does the service use your data to build and save a profile for non-primary use?
  • Are ad networks being used and under what terms?

See: https://www.w3.org/2010/api-privacy-ws/papers/privacy-ws-22.txt

Atavic avatar Nov 29 '17 19:11 Atavic