Open Bug 1363008 Opened 8 years ago Updated 3 years ago

Support all extension storage types

Categories

(DevTools :: Storage Inspector, enhancement, P3)

51 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
(In reply to Tom Tromey :tromey from comment #4) > (In reply to David Bruant from comment #3) > > WebExtensions have a storage API that will need to be debugged > > https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage > > > > I'm not up-to-date on the WebExtension developer experience right now. Is > > there a Storage Inspector for WebExtensions? > > I don't know, but Mike might. Yes, there is but it only works with IndexedDB right now. Simple storage is no longer needed. David is referring to the chrome.storage space inside Web Extension Code... we need to add that to the Storage Inspector so let's re-purpose this bug.
Has STR: --- → irrelevant
Filter on HOTFROG.
Whiteboard: [todo-mr] → [todo-mr][t1]
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Product: Firefox → DevTools
@luca I would like to add a Web Extension storage type to the storage inspector. It would look something like this: Web Extension GUID1 GUID2 GUID3 GUID4 storage.sync Key Value pref1 value1 pref2 value2 storage.local ... storage.managed ... You get the idea. Of course, I could add other info related to the web extension but I am only worried about storage.(sync|local|managed) for now. The problem is that I can't find a way to get at the context of the web extension to get at it's storage. I also need to know when the storage has been changed via: storage.onChanged Do you have any idea how this can be done? Everybody I have spoken to is coming up blank.
Flags: needinfo?(lucasgrecco)
Severity: normal → enhancement
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: [todo-mr][t1]

At the moment this is on hold because there is no way for us to access the background process of an extension.

There is little point working on this at the moment until project Fission is complete.

Assignee: mratcliffe → nobody
Status: ASSIGNED → NEW
Attachment #9046235 - Attachment description: extension-storage.diff → [WIP] extension-storage.diff

At the moment we are showing one type of extension storage, but there are three of them https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage

Blocks: 1688872
Severity: normal → S3
Priority: P2 → P3
Summary: Make it possible to add chrome.storage storage entries to the storage inspector → Support all extension storage types

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(lucasgrecco)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: