Open Bug 1632530 Opened 4 years ago Updated 3 years ago

Remember selected evaluation context when reloading/reopening the console

Categories

(DevTools :: Framework, enhancement, P3)

enhancement

Tracking

(Fission Milestone:Future)

Fission Milestone Future

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-future)

Alex was wondering if we could have a way to remember the selected context when re-opening the console, and it made me think of the following use case.

As a webapp developer, you're chasing a bug in an iframe/worker.
You selected the target you wanted to run some assertions on.
Then you do edits in your code and reload the page to check things again.
At the moment, when reloading the remote frames/workers targets are going to be destroyed, which mean we'll select the top level target again.
So you have to select the right target again in the selector.

Maybe it would be nice if the console remembers that you selected a given context, and try to select it again for you.

Actually, I was wondering while testing the browser toolbox. I could easily see value there, especially about toolbox opening.

But your scenario with page reload sounds even more important/useful.

We may investigate the two independently as toolbox opening and page reload may require distinct code? (I have no idea yet if that's the case)

Tracking Fission DevTools bugs for Fission Nightly (M6) milestone

Fission Milestone: --- → M6

Agreed, having this behave like Inspector, where it reselects the current node on reload, would be useful affordance.

dt-fission-m2-reserve bugs do not need to block Fission Nightly (M6). For now, let's track them for Fission riding the trains to Beta (M7) so we revisit these bugs before we ship Fission.

Fission Milestone: M6 → M7

Bulk move of all dt-fission-m2-reserve bugs to Fission MVP milestone.

Fission Milestone: M7 → MVP
Whiteboard: dt-fission-m2-reserve → dt-fission-m3-reserve

Moving "dt-fission-m3-reserve" bugs to "dt-fission-future" because they don't block Fission MVP.

Fission Milestone: MVP → Future
Whiteboard: dt-fission-m3-reserve → dt-fission-future
You need to log in before you can comment on or make changes to this bug.