Closed
Bug 1601630
Opened 6 years ago
Closed 6 years ago
Remove WebConsoleUI evaluateJSAsync
Categories
(DevTools :: Console, task, P1)
DevTools
Console
Tracking
(firefox73 fixed)
RESOLVED
FIXED
Firefox 73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m1)
Attachments
(1 file)
This function (devtools/client/webconsole/webconsole-ui.js#497-504 ) directly calls the main target WebConsoleFront evaluateJSAsync
method, which means it does not benefit from the work we did in the commands evaluateJSAsync
to retrieve the correct webConsoleFront to talk to.
There are only a couple of consumers:
- inspector's "Use in console" context menu entry
- a console mochitest
so it should be easy to migrate, and call the command method instead.
Assignee | ||
Comment 1•6 years ago
|
||
This method was directly using the main target console front
to evaluate something, which could cause issue in a fission
world.
The function is removed, and callsites now call the command
evaluateJSAsync, in which we retrieve the appropriate front
given the given options object (e.g. if there's a selecteObjectActor,
we'll talk to the target that hold the actor).
Updated•6 years ago
|
Blocks: dt-fission-browser-console
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/deda1cad1f65
Remove WebConsoleUI evaluateJSAsync. r=jlast.
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
Updated•6 years ago
|
Whiteboard: dt-fission → dt-fission dt-fission-m1
Updated•4 years ago
|
Whiteboard: dt-fission dt-fission-m1 → dt-fission-m1
You need to log in
before you can comment on or make changes to this bug.
Description
•