Support some write access of WebExtension storage.local API data from the Storage panel of the WebExtension Addon Debugger toolbox
Categories
(WebExtensions :: Storage, enhancement, P1)
Tracking
(firefox72 verified)
Tracking | Status | |
---|---|---|
firefox72 | --- | verified |
People
(Reporter: bdanforth, Assigned: bdanforth)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
Breaking up Bug 1542035, so that it handles read-only access and this bug handles (some) write access.
Assignee | ||
Comment 1•5 years ago
|
||
- Update the extensionStorage actor to enable some writing to extension storage.local through the Storage panel client.
- All values in the client are displayed as strings, so the actor must stringify them before sending them to the client and parse them when receiving changes from the client. For this reason, there is currently limited write support.
- Storage item values that are JSONifiable (numbers, strings, booleans, object literals, arrays and null) can be modified in the Storage panel.
- Non-JSONifiable values cannot be modified, and will be represented by "[value *]" or "[object *]" in the panel, where * depends on the value type.
- Storage item names can be modified in the storage panel.
- In-line comments referencing Bugs 1542038 and 1542039 indicate places where the implementation may differ for local storage versus the other storage areas in the actor.
- The parseItemValue method used in the client was moved to a shared directory, so that the actor could parse string values from the client in its editItem method.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Here is the Bug 1573201 - Feature Technical Documentation as requested by QA.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Item names must be strings to be editable.
Depends on D34416
Comment 4•5 years ago
|
||
Comment on attachment 9107718 [details]
Bug 1573201 - Enable adding items and editing item names for extension storage.local data in addon debugger
Revision D52483 was moved to bug 1598224. Setting attachment 9107718 [details] to obsolete.
Assignee | ||
Comment 5•5 years ago
|
||
Moved the work to add items and edit name
fields in the Storage panel to a follow-up bug, Bug 1598224.
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dedca1647cfe Add limited write support for extension storage.local data in addon debugger r=miker,rpl
Comment 7•5 years ago
|
||
bugherder |
Assignee | ||
Comment 8•5 years ago
|
||
Test Extension 3 for the QA Test Plan
(Test Extensions 1 and 2 are for regression testing of Bug 1542035 which is part of this bug's test plan; they can be found in that bug.)
Assignee | ||
Comment 9•5 years ago
|
||
Here is the QA Test Plan for this bug.
Comment 10•4 years ago
|
||
Verified that editing certain local storage items (string, number, boolean, null, Array and Object literal values are editable) and Deleting a single item or all items from the Extension local storage is possible. Tested on Windows pro 10, Ubuntu 18.04.3 LTS and macOS Catalina 10.15 on the latest Beta FF 72.0b9 (20191219234059).
Changes implemented through 1542035 have not regressed.
Marking this ticket as Verified fixed.
Description
•