Open
Bug 879575
Opened 12 years ago
Updated 1 year ago
Ability to pin a subtree of the dom open across page reloads
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: fitzgen, Unassigned)
Details
Attachments
(1 obsolete file)
Imagining a context menu item "pin subtree open" or something that makes it so when I reload the page, the same subtree will automatically be opened again.
Comment 1•12 years ago
|
||
I think it should be automatic, like how the debugger remembers the expanded nodes in the variables view.
Comment 2•11 years ago
|
||
I like this idea, and it's relatively easy to implement I think.
At inspector-panel level, we already store the unique css selector of the currently selected node : http://mxr.mozilla.org/mozilla-central/source/browser/devtools/inspector/inspector-panel.js#390
We use this so that at the next reload, we can re-select the same node.
It wouldn't be hard to store the list of expanded nodes in the same fashion.
I'm wondering though if the usecase of refreshing the page specifically to clean up the inspector's state is a valid one. It seems like valid to me.
So if we want to remember expanded nodes, then I think we should also implement (via a ctx menu option probably) a way to collapse all nodes at once.
By the way, I like Panos' view on this being automatic.
Updated•11 years ago
|
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Comment 3•9 years ago
|
||
Inspector bug triage (filter on CLIMBING SHOES).
Severity: normal → enhancement
Priority: P2 → P3
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Attachment #9383004 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•