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

238 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 441d61323b Bug 1615360 - [remote] Add BigInt support to Runtime.callFunctionOn. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D64466

--HG--
extra : moz-landing-system : lando
2020-02-27 10:56:48 +00:00
Maja Frydrychowicz 2536ddcb74 Bug 1614108 - Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo
Copy format module from Marionette.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 08:22:56 +00:00
Henrik Skupin 825278c69a Bug 1610374 - [remote] Page.navigateToHistoryEntry() has to wait for requested index been set. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62658

--HG--
extra : moz-landing-system : lando
2020-02-15 08:14:40 +00:00
Mihai Alexandru Michis 683caf5062 Backed out changeset 2aad23c07f68 (bug 1610374) for causing lint failures in remote/test/browser/page/head.js
CLOSED TREE
2020-02-15 03:51:21 +02:00
Henrik Skupin 8e15f0c1c5 Bug 1610374 - [remote] Page.navigateToHistoryEntry() has to wait for requested index been set. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62658

--HG--
extra : moz-landing-system : lando
2020-02-14 22:49:45 +00:00
Henrik Skupin 85d206a203 Bug 1615368 - [remote] Response for Runtime.callFunctionOn with returnbyValue misses "type" and "description". r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62779

--HG--
extra : moz-landing-system : lando
2020-02-14 20:33:05 +00:00
Henrik Skupin 86186350f2 Bug 1615260 - [remote] Return correct properties for unserializable values in Runtime.callFunctionOn. r=remote-protocol-reviewers,maja_zf
Values like NaN, Infinity, -Infinity are not serializable and have
to be returned via the unserializable property and not as value.

This patch also adds the type and description properties as
Puppeteer tests require, but leaves out support for
BigInt (bug 1615360).

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

--HG--
extra : moz-landing-system : lando
2020-02-14 20:33:16 +00:00
Mark Banner e4edff6d1a Bug 1614891 - Clarify the ESLint situation around some remote/ files. Remove unnecessary remote/test/demo.js. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D62547

--HG--
extra : moz-landing-system : lando
2020-02-13 09:23:19 +00:00
Mihai Alexandru Michis 5e61330ed7 Bug 1610377 - Fix lint error in remote/test/browser/page/head.js a=lint-fix
CLOSED TREE

--HG--
extra : amend_source : 2c8efc710f46d6701e7748a625e3841fb087af37
2020-02-13 11:24:36 +02:00
Henrik Skupin 6d33e6a9bf Bug 1610377 - [remote] Wait for history index selected when using gBrowser.gotoIndex(). r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62589

--HG--
extra : moz-landing-system : lando
2020-02-13 08:56:04 +00:00
David Burns 5942abaa97 Bug 1588114 - [remote] Implement Network.setCookie and Network.setCookies. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62119

--HG--
extra : moz-landing-system : lando
2020-02-10 21:14:16 +00:00
Maja Frydrychowicz 5d76a2ec16 Bug 1611274 - [puppeteer] Vendor in fixes for Launcher tests
Differential Revision: https://phabricator.services.mozilla.com/D62343

--HG--
extra : moz-landing-system : lando
2020-02-10 21:07:27 +00:00
Noemi Erli e3e00d66cb Bug 1610382 - Disable browser_setCacheDisabled.js for frequent failures r=remote-protocol-reviewers,gbrown,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61771

--HG--
extra : moz-landing-system : lando
2020-02-06 10:23:15 +00:00
Coroiu Cristina c0261da5cd Bug 1610374 - Disable browser_navigateToHistoryEntry.js on linux1804 and win for frequent failures r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61410

--HG--
extra : moz-landing-system : lando
2020-02-03 08:21:02 +00:00
Henrik Skupin eb1a9e56fb Bug 1587845 - [remote] ESLint fix for browser_captureScreenshot.js.
Differential Revision: https://phabricator.services.mozilla.com//D60909
2020-01-24 00:07:00 +02:00
Henrik Skupin 7fa9eac4b0 Bug 1587845 - [remote] Add "clip" argument to Page.captureScreenshot. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D57793

--HG--
extra : moz-landing-system : lando
2020-01-23 21:31:30 +00:00
Henrik Skupin 4b34baa214 Bug 1607823 - [remote] Use ContentTask.spawn instead of SpecialPowers.spawn in browser_setCacheDisabled.js. r=remote-protocol-reviewers,maja_zf
Depends on D60386

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:38:03 +00:00
Henrik Skupin de8109653e Bug 1609627 - [remote] Implement Page.navigateToHistoryEntry. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60122

--HG--
extra : moz-landing-system : lando
2020-01-20 18:59:08 +00:00
Henrik Skupin 4645068db6 Bug 1609163 - [remote] Implement Page.getNavigationHistory. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60023

--HG--
extra : moz-landing-system : lando
2020-01-20 18:59:20 +00:00
Maja Frydrychowicz 22aa29f8b3 Bug 1602686 - Check that navigation has completed; r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D59914

--HG--
extra : moz-landing-system : lando
2020-01-15 10:10:15 +00:00
Henrik Skupin 3938c43161 Bug 1544417 - [remote] Implement Emulation.setDeviceMetricsOverride. r=remote-protocol-reviewers,maja_zf,ato
Differential Revision: https://phabricator.services.mozilla.com/D58935

--HG--
extra : moz-landing-system : lando
2020-01-14 15:41:06 +00:00
Henrik Skupin 6050750472 Bug 1590102 - [remote] Implement Network.deleteCookies. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D59431

--HG--
extra : moz-landing-system : lando
2020-01-13 16:02:09 +00:00
Khushal Sahni d7f74c0866 Bug 1604143 - Make browser-chrome task function arguments an object. r=whimboo,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D59082

--HG--
extra : moz-landing-system : lando
2020-01-13 08:52:44 +00:00
Henrik Skupin 210002ad71 Bug 1596136 - [remote] "Emulation.setUserAgentOverride" should only affect the current target. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58164

--HG--
extra : moz-landing-system : lando
2020-01-08 14:04:55 +00:00
Henrik Skupin 2248eb2510 Bug 1596136 - [remote] Remove openTab() and openWindow() helpers from target tests head.js. r=remote-protocol-reviewers,ato
Bug 1605722 already added those helpers to the global head.js file.
As such they can be removed from the target's head.js file.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 13:26:42 +00:00
Henrik Skupin 15e30b89a5 Bug 1607461 - [remote] Implement Network.setCacheDisabled. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58996

--HG--
extra : moz-landing-system : lando
2020-01-08 12:40:49 +00:00
Henrik Skupin 986231c6dc Bug 1596601 - [remote] Skip some more crashing Puppeteer unit tests. r=remote-protocol-reviewers,ato
Depends on D59006

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

--HG--
extra : moz-landing-system : lando
2020-01-08 12:14:57 +00:00
Andreas Tolfsen e221feba47 bug 1607500: remote: preserve task name in add_agent_task() r=remote-protocol-reviewers,whimboo
Similarly to bug 1603451, the name of the function passed to the
specialised add_agent_task() is lost because of the anonymous
function wrapper inside.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 08:34:46 +00:00
Henrik Skupin 7223ef9216 Bug 1605650 - [remote] Temporarily skip test browser_getCookies.js for ccov tests on Windows 10. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58746

--HG--
extra : moz-landing-system : lando
2020-01-06 09:52:30 +00:00
Andreas Tolfsen 4ff0799afe bug 1565164: remote: rename Domains DomainCache r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D58610

--HG--
rename : remote/domains/Domains.jsm => remote/domains/DomainCache.jsm
rename : remote/test/unit/test_Domains.js => remote/test/unit/test_DomainCache.js
extra : moz-landing-system : lando
2020-01-06 09:32:11 +00:00
Andreas Tolfsen d9f8d5f71e bug 1606317: remote: revert "Disable Puppeteer tests in ignorehttpserrors.spec.js which crash the browser." r=remote-protocol-reviewers,whimboo
This reverts the commit:

	git:	d640ab64b993431099cd9205297bfff464d76927
	hg:	9f6327c0d8298ec58a6c9f8d51526872d01d765e

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

--HG--
extra : moz-landing-system : lando
2020-01-03 13:44:39 +00:00
Coroiu Cristina 9513ceda80 Backed out 3 changesets (bug 1606317) for build bustage at build/src/security/manager/ssl/nsCertOverrideService.cpp on a CLOSED TREE
Backed out changeset 9c34a0a40e62 (bug 1606317)
Backed out changeset 467db2b310a7 (bug 1606317)
Backed out changeset b12669c3ade7 (bug 1606317)
2020-01-03 15:11:29 +02:00
Andreas Tolfsen 27106918c7 bug 1606317: remote: revert "Disable Puppeteer tests in ignorehttpserrors.spec.js which crash the browser." r=remote-protocol-reviewers,whimboo
This reverts the commit:

	git:	d640ab64b993431099cd9205297bfff464d76927
	hg:	9f6327c0d8298ec58a6c9f8d51526872d01d765e

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

--HG--
extra : moz-landing-system : lando
2020-01-03 10:16:13 +00:00
Henrik Skupin db8cf153cd Bug 1593979 - [remote] Always include global head.js and chrome-remote-interface.js. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D54568

--HG--
extra : moz-landing-system : lando
2020-01-03 09:02:15 +00:00
Henrik Skupin b35d14d120 Bug 1605722 - [remote] Enable target discovery by default for browser chrome tests. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58162

--HG--
extra : moz-landing-system : lando
2020-01-02 21:13:20 +00:00
Brindusan Cristian 87aed6f2be Backed out 2 changesets (bug 1606612) for 'remote' failures at browser_scriptToEvaluateOnNewDocument.js. CLOSED TREE
Backed out changeset d0ff02a17ad9 (bug 1606612)
Backed out changeset 4368466b495b (bug 1606612)
2020-01-02 18:19:40 +02:00
Andreas Tolfsen 4f915f8ab5 bug 1606612: remote: move payload sanitization to Protocol r=remote-protocol-reviewers,whimboo
Moving the JSON payload sanitisation function to Protocol.jsm
means we can share it across modules.

The patch also adds new tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 13:29:01 +00:00
Henrik Skupin 950468de8e Bug 1606290 - [remote] Disable more Puppeteer tests which crash the harness.
Depends on D58488

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

--HG--
extra : moz-landing-system : lando
2020-01-01 18:50:48 +00:00
Henrik Skupin 0951041609 Bug 1606290 - [remote] Re-enable Puppeteer tests for Firefox which do not crash.
Depends on D58487

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

--HG--
extra : moz-landing-system : lando
2020-01-01 18:28:34 +00:00
Henrik Skupin 7d9a72d23b Bug 1606317 - [remote] Disable Puppeteer tests in ignorehttpserrors.spec.js which crash the browser.
Differential Revision: https://phabricator.services.mozilla.com/D58487

--HG--
extra : moz-landing-system : lando
2020-01-01 18:51:51 +00:00
Henrik Skupin 2dd64e92cd Bug 1590098 - [remote] Implement basic support for Network.getCookies. r=remote-protocol-reviewers,ato,maja_zf
This patch adds basic support for retrieving cookies,
which means that it returns the cookies for the currently
active target.

Hereby it has the following limitations:

1. It does not walk the frame tree, and as such only returns
the cookies from the top-level frame. Support for that will
be added once frames can correctly be handled, which means
once support for the JSWindowActor API has been landed.

2. The "urls" parameter is not supported because it is
unclear right now what it actually does. More investigation
is necessary before any implementation can happen.

3. There is no support for the file:// protocol yet.

4. Dot domains aren't taken care of yet.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 19:38:05 +00:00
Maja Frydrychowicz 84e1accdfe Bug 1605413 - Disable Puppeteer unit tests that crash the test harness
Differential Revision: https://phabricator.services.mozilla.com/D58008

--HG--
extra : moz-landing-system : lando
2019-12-20 17:38:57 +00:00
Maja Frydrychowicz 08af6c6582 Bug 1600959 - Implement Runtime.executionContextsCleared r=remote-protocol-reviewers,whimboo,ato
Differential Revision: https://phabricator.services.mozilla.com/D55868

--HG--
extra : moz-landing-system : lando
2019-12-19 19:58:52 +00:00
Andreas Tolfsen 5c0d22572b bug 1603451: remote: preserve test name from original task r=remote-protocol-reviewers,maja_zf,whimboo
The browser-chrome test name is derived from the function name.
The function name of the original task is lost when wrapped inside
the add_task() override in remote/test/browser/head.js.

This fixes the problem by rewriting the taskFn name on the new wrapper.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 14:58:30 +00:00
Andreas Tolfsen defc8d9410 bug 1603451: remote: document add_task() r=remote-protocol-reviewers,maja_zf,whimboo
The documentation for the overridden add_task() is quite poor.
Document it as to not confuse new developers why it is behaving
differently to the default bc add_task().

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-12-18 12:53:52 +00:00
Henrik Skupin 25fdbb9aff Bug 1599994 - [remote] Implement Page.printToPDF. r=remote-protocol-reviewers,ato,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D55961

--HG--
extra : moz-landing-system : lando
2019-12-16 16:19:04 +00:00
Henrik Skupin ce07f3fba4 Bug 1600058 - [remote] Implement IO.close. r=remote-protocol-reviewers,ato,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D55969

--HG--
extra : moz-landing-system : lando
2019-12-16 16:19:02 +00:00
Henrik Skupin 5a966347fc Bug 1600053 - [remote] Implement IO.read. r=remote-protocol-reviewers,baku,ato,maja_zf
This patch implements the IO.read() method to allow
reading streams for files and blobs.

Therefor all the methods in the IO domain need a registry
for streams. Those have to be stored globally because
they need to be kept existent across different client
connections.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 16:17:59 +00:00
Henrik Skupin 162084495c Bug 1600053 - [remote] Add registry for managing references to streams. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D57304

--HG--
extra : moz-landing-system : lando
2019-12-16 16:17:47 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00