Enable all storage Watchers on the server for all target types
Categories
(DevTools :: Storage Inspector, enhancement)
Tracking
(firefox111 fixed)
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
This is about toggling all the following traits to true:
https://searchfox.org/mozilla-central/rev/4c3f6e8bf87fffb7c62feb4c76a14e0eb0b94c1f/devtools/server/actors/watcher/session-context.js#206-207,209-211
And stop using the legacy listener for all the storage resources.
Assignee | ||
Comment 1•1 year ago
|
||
They should work out of the box as they filter by WindowGlobalTargetActor.windows
and this should be correct for the ParentProcesTargetActor.
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
It looks like this is all filtered by getAllBrowsingContextsForContext and isWindowGlobalPartOfContext
so it should only process the expected window globals.
Assignee | ||
Comment 3•1 year ago
|
||
remote=true wasn't quite the right check here.
This workaround here is rather around chrome <=> content boundaries.
When we load a URL that loads in the parent process (like about:devtools-toolbox),
this ignores remote=true and loads in parent, but type="content"
is still enforced and still prevent it from being listed in BrowsingContext.children.
Because of this the about:devtools-toolbox wasn't visible in the storage panel.
Comment 4•1 year ago
|
||
Comment on attachment 9311940 [details]
Bug 1772822 - [devtools] Fix reporting toolbox as a valid browsing context
Revision D166659 was moved to bug 1811229. Setting attachment 9311940 [details] to obsolete.
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/853cc7a03c53 [devtools] Enable server resource watcher for content-process storage types. r=devtools-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/5bd4441b15bc [devtools] Enable server resource watcher for parent-process storage types. r=jdescottes,nchevobbe,devtools-reviewers
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/853cc7a03c53
https://hg.mozilla.org/mozilla-central/rev/5bd4441b15bc
Description
•