Pausing in Workers and Remote Frames should update context selector
Categories
(DevTools :: Debugger, task, P1)
Tracking
(Fission Milestone:M6c, firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: Honza, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m2-mvp)
Attachments
(1 file)
When JS execution pauses in a worker or remote iframe the Context Selector should be properly updated to show the current (paused) context.
Honza
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Tracking dt-fission-m2-mvp bugs for Fission Nightly (M6)
Reporter | ||
Comment 2•4 years ago
|
||
Providing some specific STRs so, it's easier to test
- Open Content Toolbox on any we page e.g. http://janodvarko.cz/tests/debugger/workers/
- Select the Network panel and use the search feature - it starts a worker
- Find the
resource://devtools/client/netmonitor/src/workers/search/search.js
in the source tree - Create BP in within the
searchIinResource
function - Repeat search in the Network panel -> hit the BP
- Checkout the selector - it should show the right worker
Note that the selector is not even showing the network panel search worker in the list.
The Threads panel works as expected. It selects the worker properly and marks it as paused.
Honza
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
This is working in the browser toolbox, the context is updated when we pause. (I think it's more because a thread is selected when we pause, and the context selector reacts to the thread change).
I started working on a test to ensure this works when we pause in a remote frame, but the debugger does not pause at all in a remote frame when fission is enabled. I can't use a worker to pause in either, because we don't show workers in the context selector in the content toolbox at the moment.
Jason, is there a bug filed to enable that (pause at breakpoints in remote frames when fission is enabled), which I can use to block this bug?
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Comment 4 has a link to the patch in which I added the test
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Nicolas, this might be a good meta bug to use
https://bugzilla.mozilla.org/show_bug.cgi?id=1574350
Comment 7•4 years ago
|
||
Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c)
Updated•4 years ago
|
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8d5d383ed08 Test that context selector is updated when pausing in a remote frame. r=Honza.
Comment 9•4 years ago
|
||
bugherder |
Description
•