Simplify devtools workers
Categories
(DevTools :: Debugger, task)
Tracking
(firefox110 fixed)
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
This is mostly to followup on these two comments:
https://phabricator.services.mozilla.com/D162964#5386807
Where the console spawn a duplicate instance of parser worker, and the parser worker should be using task instead of invoke function.
Assignee | ||
Comment 1•2 years ago
|
||
This prevents recreating a complex method each time we call WorkerDispatcher.invoke.
Assignee | ||
Comment 2•2 years ago
|
||
As well as its leftover dependencies.
Assignee | ||
Comment 3•2 years ago
|
||
Note that we still have to instantiate a Webconsole dedicated one in case of Browser Console,
which won't have any toolbox offhand.
Assignee | ||
Comment 4•2 years ago
|
||
Assignee | ||
Comment 5•2 years ago
|
||
Because of this, we have to now pass the worker URL via WorkerDispatcher constructor.
Doing this should help then extend WorkerDispatcher instead of manually instantiating it.
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Also align the one worker in netmonitor.
Assignee | ||
Comment 7•2 years ago
|
||
This complexify the existing tests a bit, but will make the management from the Toolbox more obvious.
(Also I forgot to remove the source-map-loader from the list of browser loader module...)
Comment 9•2 years ago
|
||
Backed out for causing failures in source-map-loader.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | damp | source-map/source-map-loader.js: TypeError: sourceMap.startSourceMapWorker is not a function
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/689046028162
https://hg.mozilla.org/mozilla-central/rev/784c086d0975
https://hg.mozilla.org/mozilla-central/rev/1fb0d941f15b
https://hg.mozilla.org/mozilla-central/rev/af8bee46fcd6
https://hg.mozilla.org/mozilla-central/rev/2a0d24f91df3
https://hg.mozilla.org/mozilla-central/rev/f7b7152487d0
https://hg.mozilla.org/mozilla-central/rev/9272c5d75533
Description
•