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

65 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen ad6b527dfb bug 1523104: remote: associate formatting with error prototype; r=ochameau 2019-03-08 16:27:51 +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 94f618dfa5 bug 1523104: remote: format error packets according to puppeteer expectations; r=ato 2019-03-08 16:27:48 +00:00
Alexandre Poirot f49412cd87 bug 1523104: remote: remove unused Target symbol from RemoteAgent; r=ato 2019-03-08 16:27:47 +00:00
Alexandre Poirot 6f3411ace5 bug 1523104: remote: correctly unregister accepted listener in TargetListener; r=ato 2019-03-08 16:27:45 +00:00
Alexandre Poirot 5ac51764c5 bug 1523104: remote: destroy the related Session when the WebSocket connection drops; r=ato 2019-03-08 16:27:43 +00:00
Alexandre Poirot ed8224a660 bug 1523104: remote: use toolkit's event emitter; r=ato 2019-03-08 16:27:41 +00:00
Alexandre Poirot 13b4c184aa bug 1523104: remote: remove unused EventEmitter interface from Target; r=ato 2019-03-08 16:27:40 +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 f93f68ae7d bug 1523104: remote: rename Prefs.jsm to match its exported symbol; r=ato
--HG--
rename : remote/Prefs.jsm => remote/RecommendedPreferences.jsm
2019-03-08 16:27:38 +00:00
Alexandre Poirot 5bd791efe2 bug 1523104: remote: stop emitting unused connect/disconnect events; r=ato 2019-03-08 16:27:36 +00:00
Alexandre Poirot f1759b3885 bug 1523104: remote: remove unused informative remote.httpd.* preferences; r=ato 2019-03-08 16:27:35 +00:00
Alexandre Poirot 636c17a22e bug 1523104: remote: merge Handler into JSONHandler as we only have JSONHandlers; r=ato 2019-03-08 16:27:32 +00:00
Alexandre Poirot 4c773c706e bug 1523104: remote: rename TargetListener.connected to listening; r=ato 2019-03-08 16:27:31 +00:00
Andreas Tolfsen 2434377fda bug 1523104: remote: propagate underlying cause to superclass; r=ochameau 2019-03-08 16:27:29 +00:00
Andreas Tolfsen d491ec6f46 bug 1523104: remote: improve error legibility somewhat; r=ochameau 2019-03-08 16:27:28 +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 4fb35b3d0a bug 1523104: remote: refactor Session#dispatch; r=ochameau 2019-03-08 16:27:23 +00:00
Andreas Tolfsen 748084b37b bug 1523104: remote: destruct domain instances on closing session; r=ochameau 2019-03-08 16:27:22 +00:00
Andreas Tolfsen bb0fed23eb bug 1523104: remote: s/remote-protocol/remote/g; r=ochameau 2019-03-08 16:27:21 +00:00
Andreas Tolfsen a91a7da5b6 bug 1523104: remote: test that method own property on domain class is function; r=ochameau 2019-03-08 16:27:19 +00:00
Andreas Tolfsen 1601819536 bug 1523104: remote: introduce MessagePromise sync primitive; r=ochameau
Makes the code slightly more pleasant to read.
2019-03-08 16:27:17 +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 f2d9920130 bug 1523104: remote: make Session#receiveMessage slightly more succinct; r=ochameau 2019-03-08 16:27:11 +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
Andreas Tolfsen 0431233f04 bug 1523104: remote: drop protocol schema validation; r=ochameau 2019-03-08 16:27:07 +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 6b1300177d bug 1523104: remote: respond with 500 Internal Server Error if unable to serialise JSON; r=ochameau 2019-03-08 16:27:03 +00:00
Andreas Tolfsen 132c5fec6f bug 1523104: remote: use application/json mime type for responses; r=ochameau 2019-03-08 16:27:01 +00:00
Andreas Tolfsen 70a142fc0f bug 1523104: remote: fix IPv6 loopback hostname; r=ochameau 2019-03-08 16:27:00 +00:00
Andreas Tolfsen 01e6c6d438 bug 1523104: remote: move Targets class to separate module; r=ochameau 2019-03-08 16:26:59 +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 e27f7a91e8 bug 1523104: remote: contribute usage instructions; r=me a=docs 2019-03-08 16:26:55 +00:00
Andreas Tolfsen a6fad946e5 bug 1523104: remote: mention which host it binds to by default in help text; r=ochameau 2019-03-08 16:26:52 +00:00
Andreas Tolfsen b41837916e bug 1523104: remote: change flag from --debug to --remote-debugger; r=ochameau
Also introduces a --remote-debugging-port <port> flag for compatibility
with Chrome and Opera.
2019-03-08 16:26:51 +00:00
Andreas Tolfsen cc8d4e0778 bug 1523104: remote: salvage some code style documentation from Marionette; r=me 2019-03-08 16:26:50 +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 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 c8bc5eb7c0 bug 1523104: remote: remove unused nsIRemoteAgent interface; r=ato 2019-03-08 16:26:37 +00:00
Alexandre Poirot c9dfbc96b8 bug 1523104: remote: remove unused modules; r=ato 2019-03-08 16:26:37 +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 d0d3d40947 bug 1523104: remote: update the demo script to use a local page; r=ato 2019-03-08 16:26:35 +00:00