Open Bug 1600700 Opened 5 years ago Updated 2 years ago

Remove connectToParent/connectToParentWindowActor to create Frame transports

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

Follow up to Bug 1565200. connectToParent and connectToParentWindowActor are simple wrappers available on DebuggerServer that create a transport and "attach" it on the server (via this._onConnection, which will create a connection for the transport).

It would be clearer to let the call sites directly instantiate the transport and then notify the server about their creation (so that the connection can still be created).

See https://phabricator.services.mozilla.com/D51130#inline-330327

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.