Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 4c3f075b45 Bug 1536794 - Close httpd's Connection when closing the remote agent's server. r=ato
This fixes the browser mochitest which currently timesout when calling server.close()
It started to timeout when the patch related to websocket handshake landed.

Depends on D24219

Differential Revision: https://phabricator.services.mozilla.com/D24220

--HG--
extra : moz-landing-system : lando
2019-03-21 14:17:36 +00:00
Alexandre Poirot 2e14b7808c Bug 1533682 - Implement sessions. r=ato
In order to be able to query/instantiate sub targets like remote frames, or tab targets from the MainProcessTarget,
we have to support session at the protocol layer.
This is all based on a `sessionId` attribute put on all inbound/outbound messages.

This patch will be later used, once we start instantiating sub targets.

Differential Revision: https://phabricator.services.mozilla.com/D22694

--HG--
extra : moz-landing-system : lando
2019-03-11 12:48:05 +00:00
Andreas Tolfsen 09aa28daaa bug 1523104: remote: drop outdated todos; r=me 2019-03-08 16:28:03 +00:00
Andreas Tolfsen 028b0ea0a5 bug 1523104: remote: signal that transport is ready when connection is created; r=ochameau 2019-03-08 16:28:01 +00:00
Andreas Tolfsen c889849aa3 bug 1523104: remote: self-assign id to connection; r=ochameau 2019-03-08 16:28:00 +00:00
Alexandre Poirot 73a38c3179 bug 1523104: remote: remove unused listener argument passed to Connection; r=ato 2019-03-08 16:27:39 +00:00
Alexandre Poirot 5e4abd9576 bug 1523104: remote: add missing Connection.close method called from TargetListener.close; r=ato 2019-03-08 16:26:38 +00:00
Alexandre Poirot cbe8f61b5b bug 1523104: remote: fix eslint by removing unecessary commas; r=ato 2019-03-08 16:26:36 +00:00
Alexandre Poirot 326eeff61c bug 1523104: remote: stop binding JSM exported globals on this; r=ato
This was breaking the constructor name, used in Domain.jsm.
As doing

	this.Foo = class extends Domain {

creates a class with undefined constructor name.
While

	class Foo extends Domain {

creates a class with "Foo" as domain name.
2019-03-08 16:26:33 +00:00
Andreas Tolfsen 06faaf9146 bug 1523104: remote: initial cdp prototype; r=ochameau 2019-03-08 16:26:22 +00:00