Closed Bug 1576844 Opened 5 years ago Closed 5 years ago

Error message when closing multi-proxy Browser Console

Categories

(DevTools :: Console, defect, P1)

defect

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m1)

Attachments

(1 file)

Sometimes, when closing the Browser Console (no clear STR), there's the following error in the terminal:

Handler function LocalDebuggerTransport instance's this.other.hooks.onPacket threw an exception: Error: Unexpected packet server1.conn0.content-process27/contentProcessTarget1, {"from":"server1.conn0.content-process27/contentProcessTarget1","type":"tabDetached"}

I think the packet is sent from devtools/server/connectors/content-process-connector.js#106 but can't be handled on the client-side because the content-process front doesn't have the tabDetached event declared, see devtools/shared/specs/targets/content-process.js (we have it for the browser context though devtools/shared/specs/targets/browsing-context.js#135)

This event is sent from the content-process-connector in the server,
and not having it declared in the spec was causing unknown packets
error messages.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a49a4f522714
Add a tabDetached even in content-process spec. r=yulia.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Whiteboard: dt-fission → dt-fission dt-fission-m1
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.

Attachment

General

Created:
Updated:
Size: