Closed
Bug 1624308
Opened 5 years ago
Closed 5 years ago
select top-level context if selected context is removed from the context list
Categories
(DevTools :: Framework, defect, P1)
DevTools
Framework
Tracking
(Fission Milestone:M6c, firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m2-mvp)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Steps to reproduce
- With the context selection pref turned on, open the console in the regular window, as well as the browser toolbox
- In the regular console, evaluate the following to start a worker
var workerBlob = new Blob(
[workerRunner.toString().replace(/^function .+\{?|\}$/g, '')],
{ type:'text/javascript' }
);
var workerBlobUrl = URL.createObjectURL(workerBlob);
var worker = new Worker(workerBlobUrl);
worker.onmessage = function(event) {};
worker.postMessage('foo');
function workerRunner() {
self.onmessage = function(event) {
self.postMessage('launched worker via blob URL!');
}
};
- In the browser toolbox, the evaluation context selector should have this new worker in the list, select it
- Go back to the regular console, and evaluate
worker.terminate()
to stop the worker.
Expected results
In the browser toolbox, the context selector switched to the top-level context
Actual results
The selected context still is the worker we terminated, even if it doesn't appear in the context list
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/65e34e9a513b
Select top-level context if selected context is removed from the context list. r=jlast.
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
Comment 4•4 years ago
|
||
Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c)
Fission Milestone: --- → M6c
You need to log in
before you can comment on or make changes to this bug.
Description
•