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

28 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Alexandre Poirot 26d0c79caa Bug 1536888 - Move the remote agent to a JSM. r=ato
This will later help register the component statically in bug 1536862.
And already ease using the remote agent from other JSM files.

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

--HG--
rename : remote/RemoteAgent.js => remote/RemoteAgent.jsm
extra : moz-landing-system : lando
2019-03-22 09:46:50 +00:00
Alexandre Poirot 17165546af Bug 1536794 - Test Page.frameStoppedLoading and Page.navigatedWithinDocument. r=ato
Depends on D24222

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:23:20 +00:00
Alexandre Poirot 4decca62c1 Bug 1536794 - Add test to cover /json/version endpoint and Target domain. r=ato
Depends on D24221

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:18:03 +00:00
Alexandre Poirot 17c4360455 Bug 1536890 - Remove the workaround in chrome-remote-interface now that remote agent supports websocket handshake. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D24225

--HG--
extra : moz-landing-system : lando
2019-03-21 13:28:05 +00:00
Alexandre Poirot a7f9d31d4c Bug 1533682 - Implements empty domains used by puppeteer. r=ato
Puppetteer enable all these domains. Implement enable methods in order to prevent it from crashing on that.

Depends on D22695

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

--HG--
rename : remote/domains/ContentProcessDomains.jsm => remote/domains/content/Emulation.jsm
rename : remote/domains/ContentProcessDomains.jsm => remote/domains/content/Network.jsm
rename : remote/domains/ContentProcessDomains.jsm => remote/domains/content/Performance.jsm
rename : remote/domains/ContentProcessDomains.jsm => remote/domains/content/Runtime.jsm
rename : remote/domains/ContentProcessDomains.jsm => remote/domains/content/Security.jsm
extra : moz-landing-system : lando
2019-03-11 12:51:09 +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
Alexandre Poirot 2d9789224a Bug 1533679 - Implement very first Target domains. r=ato
Empty methods that are necessary to make puppeteer.connect to pass without throwing.

Depends on D22692

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

--HG--
rename : remote/domains/ParentProcessDomains.jsm => remote/domains/parent/Target.jsm
extra : moz-landing-system : lando
2019-03-10 12:51:11 +00:00
Alexandre Poirot 2d957cfacd Bug 1533679 - Move session modules to a dedicated sessions folder. r=ato
This is going to help have different kind of session par target kind.

Depends on D22686

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

--HG--
rename : remote/ContentProcessSession.jsm => remote/sessions/ContentProcessSession.jsm
rename : remote/Session.jsm => remote/sessions/Session.jsm
rename : remote/frame-script.js => remote/sessions/frame-script.js
extra : moz-landing-system : lando
2019-03-10 12:50:59 +00:00
Andreas Tolfsen 83b5921a45 bug 1523104: remote: remove unsupported feature in demo; r=ochameau 2019-03-08 16:27:49 +00:00
Alexandre Poirot 13b4c184aa bug 1523104: remote: remove unused EventEmitter interface from Target; r=ato 2019-03-08 16:27:40 +00:00
Andreas Tolfsen 3a35f84eb8 bug 1523104: remote: refactor Domains to not extend Map and wean us off custom EventEmitter; r=ochameau 2019-03-08 16:27:25 +00:00
Andreas Tolfsen 748084b37b bug 1523104: remote: destruct domain instances on closing session; r=ochameau 2019-03-08 16:27:22 +00:00
Alexandre Poirot 8a01f77453 bug 1523104: remote: allow Domains to be implemented in either parent or content processes; r=ato 2019-03-08 16:27:15 +00:00
Alexandre Poirot dffc508f5d bug 1523104: remote: display error message and a stack in mochitest; r=ato 2019-03-08 16:27:13 +00:00
Alexandre Poirot ee11408b81 bug 1523104: remote: remove reference to Network domain in the test; r=ato 2019-03-08 16:27:12 +00:00
Andreas Tolfsen 9251c9d493 bug 1523104: remote: fix lint errors by removing unused variables; r=ochameau 2019-03-08 16:27:09 +00:00
Alexandre Poirot d43ba5f39c bug 1523104: remote: re-add browser_tabs.js test and push head.js to fix the mochitests; r=ato 2019-03-08 16:27:06 +00:00
Andreas Tolfsen b85cdb8aa9 bug 1523104: remote: release test_Session.js under CC-0; r=ochameau 2019-03-08 16:26:57 +00:00
Andreas Tolfsen b53e3572d1 bug 1523104: remote: fix lint problems related to new browser-chrome tests; r=ochameau 2019-03-08 16:26:48 +00:00
Andreas Tolfsen 0da7f1e100 bug 1523104: remote: update testing documentation; r=ochameau 2019-03-08 16:26:45 +00:00
Andreas Tolfsen 6d5672ceb8 bug 1523104: remote: remove head.js support file to make it possible to execute browser_cdp.js; r=ochameau 2019-03-08 16:26:44 +00:00
Andreas Tolfsen e8cac8fd7c bug 1523104: remote: fix build by removing non-existent browser_tabs.js test; r=ochameau 2019-03-08 16:26:42 +00:00
Alexandre Poirot 6dcebbcdf6 bug 1523104: remote: wait for browser element init before creating Target; r=ato 2019-03-08 16:26:41 +00:00
Alexandre Poirot 0532cfcd0c bug 1523104: remote: add a workaround in chrome-remote-interface to support server; r=ato 2019-03-08 16:26:40 +00:00
Alexandre Poirot 78fd0df59a bug 1523104: remote: add browser mochitest to test the agent via chrome-remote-interface; r=ato 2019-03-08 16:26:39 +00:00
Alexandre Poirot d0d3d40947 bug 1523104: remote: update the demo script to use a local page; r=ato 2019-03-08 16:26:35 +00:00
Andreas Tolfsen 06faaf9146 bug 1523104: remote: initial cdp prototype; r=ochameau 2019-03-08 16:26:22 +00:00