remove unlimitedStorage prompting
Categories
(WebExtensions :: General, enhancement, P1)
Tracking
(Not tracked)
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Since we have code to test the removal of the permission on addon upgrade, I'm presuming that we're good to go. However, it might be good to know what, if any, issues there are with removing the peristed storage. Andrew, any thoughts on that?
Comment 3•5 years ago
|
||
So, bug 1558478 applies in that once persistent-storage is granted to an origin, it's currently forever granted unless you wipe the data for the origin. I'm not sure there's practically anything you can do about that other than wiping the origin instead of removing the permission. This sounds somewhat user hostile though. Taking the action of removing the permission should be sufficient for QuotaManager to auto-correct in the future, though.
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Needs to be updated:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/local
https://extensionworkshop.com/documentation/develop/request-the-right-permissions/
and maybe also
https://support.mozilla.org/en-US/kb/permission-request-messages-firefox-extensions#w_store-unlimited-amount-of-client-side-data
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Comment 8•5 years ago
|
||
To confirm, the documentation changes needed are to state that this permission is now optional?
Comment 9•5 years ago
|
||
The permission is optional AND there is no permission warning any more (see comment 5).
Assignee | ||
Comment 10•5 years ago
|
||
(In reply to Rob Wu [:robwu] from comment #9)
The permission is optional AND there is no permission warning any more (see comment 5).
It is not optional, but we do not prompt for it at this time to allow addons to update without interruption. It will eventually move to optional, and we'll may re-introduce the prompt at that time.
Given that, I'm not certain we need to make a change unless there is anything that states it will be in the permission prompt at install.
Comment 11•5 years ago
|
||
There is mention of the prompting from unlimitedStorage on the Extension Workshop page Requesting the right permissions and an appropriate change has been submitted in Removal of unlimitedStorage prompting #633. The release notes have also been updated. Please let me know if you think there should be any further changes.
Updated•5 years ago
|
Description
•