Closed Bug 1518777 Opened 5 years ago Closed 5 years ago

Move stopListeners to the console actor

Categories

(DevTools :: Console, enhancement, P1)

enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

Details

(Whiteboard: dt-fission)

Attachments

(5 files)

We should not be doing RDP requests on destruction of fronts, so we should move stopListeners to the actor.

Whiteboard: dt-fission
Several of our tests relied on the timing of the shutdown of the webconsole. I updated one
test that fired off an extra rdp request so that it waiting until it resolved before shutting down.
For the rest, I started tracking the async behavior of initialization of the web-console-proxy, and
waiting for initialization to finish before destroying.
This patch moves stopListeners to the actor, and removes the need for the callback in the
detach call on the client.
Assignee: nobody → ystartsev
Attachment #9035602 - Attachment description: Bug 1518777 - ensure that netmonitor and console tests wait for initialization and open requests to finish before shutting down; r=ochameau, nchevobbe → Bug 1518777 - ensure that netmonitor and console tests wait for initialization and open requests tofinish before shutting down; r=ochameau, nchevobbe
Status: NEW → ASSIGNED
Priority: -- → P1
Attachment #9036873 - Attachment is obsolete: true
Attachment #9036873 - Attachment is obsolete: false
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2bc02c7054fe
ensure that netmonitor and console tests wait for initialization and open requests tofinish before shutting down; r=nchevobbe
https://hg.mozilla.org/integration/autoland/rev/9c646afb94b2
move stopListeners from the client detach method to the actor destroy method; r=nchevobbe
https://hg.mozilla.org/integration/autoland/rev/6a565ef5ffe7
add onReload event to navigated action; r=ochameau,jlast
https://hg.mozilla.org/integration/autoland/rev/e7cd613e6bfb
make stoplisteners use promise style callbacks; r=ochameau
https://hg.mozilla.org/integration/autoland/rev/b9058c98eccb
move webConsoleClient.detach to destroy; r=ochameau
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: