Commit Graph

1270 Commits

Author SHA1 Message Date
Alexandra Borovova
428f90d6b8 Bug 1791532 - [puppeteer] Sync puppeteer v17.1.2 r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160331
2022-10-27 07:22:47 +00:00
Sylvestre Ledru
5afd68ac95 no bug - fix some typos found by codespell r=linter-reviewers,fluent-reviewers,Gijs,Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160290
2022-10-26 09:14:14 +00:00
Mark Banner
cce2d7f105 Bug 1795322 - Update toolkit modules references in marionette related code. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160026
2022-10-26 08:06:33 +00:00
Alexandra Borovova
eaf581c1b2 Bug 1793589 - [bidi] Consider empty sandbox name as a default realm r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160242
2022-10-26 07:41:16 +00:00
Csoregi Natalia
5f9da7b301 Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
6b6069c609 Bug 1795322 - Update toolkit modules references in marionette related code. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160026
2022-10-25 19:49:24 +00:00
Henrik Skupin
a162d7481b Bug 1793920 - [wdspec] Don't serialize HTMLDocument as a WebElement reference. r=webdriver-reviewers,jgraham
As per WebDriver specification the document, which has a
nodeType of 9 needs to be handled as a plain object.

Differential Revision: https://phabricator.services.mozilla.com/D158766
2022-10-24 10:45:38 +00:00
Henrik Skupin
6e1a4e637a Bug 1533058 - [marionette] "WebDriver:NewWindow" for type "tab" has to open "about:blank". r=webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D147746
2022-10-24 07:46:15 +00:00
Mark Banner
2ffde1e92f Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Benjamin VanderSloot
066e83f229 Bug 1793647, part 1 - Create new Sec-Fetch-Dest value for WebIdentity (FedCM), r=freddyb,webdriver-reviewers,whimboo
This is to keep up with WHATWG Fetch https://github.com/whatwg/fetch/pull/1495 .
Also revised to not include the new destination type in the RequestDestination enum, per https://github.com/whatwg/fetch/pull/1500 .

I added an element to nsIContentPolicy::nsContentPolicyType as my starting point and
proceeded from there, following the instructions at the end of the internal enum.

Differential Revision: https://phabricator.services.mozilla.com/D158657
2022-10-17 16:07:50 +00:00
Julian Descottes
fc6fd7345d Bug 1765619 - [webdriver-bidi] Add context parameter to browsingContext.create command r=webdriver-reviewers,Sasha,whimboo
Depends on D159334

Differential Revision: https://phabricator.services.mozilla.com/D143651
2022-10-14 20:43:01 +00:00
Julian Descottes
60cb11e9ff Bug 1765619 - [remote] Add getTabForBrowsingContext helper in TabManager r=webdriver-reviewers,whimboo
Depends on D159121

Differential Revision: https://phabricator.services.mozilla.com/D159334
2022-10-14 20:43:01 +00:00
Julian Descottes
e41ebdb2d7 Bug 1765619 - [remote] Add referenceTab parameter to TabManager addTab r=webdriver-reviewers,Sasha,whimboo
The updated version of the browsingContext.create spec mentions that the new tab should be added right after the reference context when
provided. We need to extend TabManager.addTab in order to support this behavior:

Differential Revision: https://phabricator.services.mozilla.com/D159121
2022-10-14 20:43:00 +00:00
David Burns
d250baab62 Bug 1771942: Update the Selenium Atoms used by Marionette. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D151123
2022-10-13 11:40:59 +00:00
Henrik Skupin
268d0ae791 Bug 1794553 - [marionette] isReftestReady has to check the navigation status based on the webProgress' browsing context. r=webdriver-reviewers,Sasha,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D159022
2022-10-11 13:17:40 +00:00
Alexandre Poirot
76aed8f004 Bug 1793575 - [devtools] Convert jsdebugger.jsm to jsdebugger.sys.mjs. r=Honza,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D158571
2022-10-06 14:21:22 +00:00
Henrik Skupin
00fc04265e Bug 1792088 - [remote] Prefer IPv4 over IPv6 for resolved IP addresses of localhost. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D158563
2022-10-05 14:54:50 +00:00
Henrik Skupin
e75a84eaa1 Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes,perftest-reviewers,AlexandruIonescu
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.

Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-10-04 09:04:25 +00:00
James Graham
114a5d427e Bug 1791736 - Move the caret to the end for send_keys r=webdriver-reviewers,jdescottes,whimboo
Only if the element isn't already focused. If it is already focused,
don't alter the focus.

Differential Revision: https://phabricator.services.mozilla.com/D158084
2022-10-03 15:18:41 +00:00
Julian Descottes
f7b11c4769 Bug 1790473 - [remote] Remove remote/.eslintrc.js r=webdriver-reviewers,whimboo
Depends on D158298

Differential Revision: https://phabricator.services.mozilla.com/D158299
2022-09-30 11:08:09 +00:00
Julian Descottes
5db63c4432 Bug 1790473 - [cdp] Convert /remote/cdp JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158297

Differential Revision: https://phabricator.services.mozilla.com/D158298
2022-09-30 11:08:09 +00:00
Julian Descottes
3635b10bad Bug 1790472 - [bidi] Convert /remote/webdriver-bidi JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158296

Differential Revision: https://phabricator.services.mozilla.com/D158297
2022-09-30 11:08:08 +00:00
Julian Descottes
4a1ddfd485 Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158295

Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Julian Descottes
bf82c5039a Bug 1790468 - [remote] Convert /remote/server JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158294

Differential Revision: https://phabricator.services.mozilla.com/D158295
2022-09-30 11:08:07 +00:00
Julian Descottes
b24d46c99d Bug 1790468 - [remote] Convert /remote/components JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158293

Differential Revision: https://phabricator.services.mozilla.com/D158294
2022-09-30 11:08:07 +00:00
Julian Descottes
d1f7dbe55e Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00
Butkovits Atila
539f87fe4f Backed out changeset 3e220bf19d7b (bug 1141335) for causing failures at awsy/test_memory_usage.py. CLOSED TREE 2022-09-30 02:12:58 +03:00
Henrik Skupin
932d46b87f Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.

Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-09-29 18:34:25 +00:00
Mark Banner
8d1ebcb9d6 Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Henrik Skupin
d5c7f69016 Bug 1789659 - [remote] Make TabManager.removeTab asynchronous. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158252
2022-09-28 15:39:23 +00:00
Julian Descottes
895acde24b Bug 1780005 - [remote] Add more trace logs to ProgressListener r=webdriver-reviewers,whimboo
Depends on D158142

Tried to cover all branches so that we know exactly why a progress listener stops or hangs.
Added a #trace private helper for readability.

Differential Revision: https://phabricator.services.mozilla.com/D158143
2022-09-27 13:24:53 +00:00
Julian Descottes
c62ef2f36b Bug 1763109 - [remote] ProgressListener should not resolve early if waitForExplicitStart is true r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D158142
2022-09-27 13:24:52 +00:00
Alexandra Borovova
f32dba0420 Bug 1770754 - [bidi] Support serialization of complex objects with container value fields. r=webdriver-reviewers,jdescottes,whimboo
Depends on D157813

Differential Revision: https://phabricator.services.mozilla.com/D157635
2022-09-27 11:31:27 +00:00
Alexandra Borovova
f3094bccfc Bug 1770754 - [bidi] Add internal ids to the duplicated objects for a given serialization. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D157634
2022-09-27 11:31:26 +00:00
Julian Descottes
f52f1c98c3 Bug 1788861 - [bidi] Deserialization of remote references should not create new objects r=Sasha,webdriver-reviewers,whimboo
Depends on D156691

Differential Revision: https://phabricator.services.mozilla.com/D156717
2022-09-20 13:29:50 +00:00
Alexandra Borovova
6ca2b6a083 Bug 1778976 - [bidi] Enable "script.evaluate", "script.callFunction" and "script.disown" on release channels. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D157091
2022-09-20 09:12:51 +00:00
Alexandra Borovova
9f3df6a72a Bug 1779231 - [bidi] Add Realm support to "target" argument for "script.evaluate", "script.callFunction" and "script.disown" r=webdriver-reviewers,jdescottes,whimboo
Depends on D156051

Differential Revision: https://phabricator.services.mozilla.com/D156690
2022-09-20 09:12:49 +00:00
Dana Keeler
bdb75eecd3 Bug 1790451 - remove now-unnecessary QueryInterface(Ci.nsITransportSecurityInfo) calls r=jschanck,webdriver-reviewers,necko-reviewers,application-update-reviewers,nalexander,valentin
Differential Revision: https://phabricator.services.mozilla.com/D157166
2022-09-20 03:58:50 +00:00
Henrik Skupin
1b97aa447f Bug 1790950 - [remote] Improve logging for Remote Agent protocol messages. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157431
2022-09-19 19:19:23 +00:00
Henrik Skupin
119e894f82 Bug 1790950 - [marionette] Improve logger output for protocol messages. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157430
2022-09-19 19:19:22 +00:00
Henrik Skupin
f27030b222 Bug 1790950 - [remote] Remove deprecated Marionette preferences from documentation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157428
2022-09-19 19:19:22 +00:00
James Graham
265bbc2061 Bug 1781066 - Disallow missing pointerMove / wheel scroll coordinates, r=webdriver-reviewers,whimboo
The spec claims that undefined is allowed for these values, but later
treats them as if they're always integers. I suspect the original
intent was to default to 0, but since there seems to be interop around
rasing an exception, make geckodriver and marionette explicitly check
for valid integers and disallow missing/undefined values.

Differential Revision: https://phabricator.services.mozilla.com/D152645
2022-09-19 16:25:12 +00:00
Butkovits Atila
0a4c1b25bc Backed out changeset 95bc55ad64d7 (bug 1781066) for causing linting failures. CLOSED TREE 2022-09-14 21:07:02 +03:00
James Graham
90ca0c23d3 Bug 1781066 - Disallow missing pointerMove / wheel scroll coordinates, r=webdriver-reviewers,whimboo
The spec claims that undefined is allowed for these values, but later
treats them as if they're always integers. I suspect the original
intent was to default to 0, but since there seems to be interop around
rasing an exception, make geckodriver and marionette explicitly check
for valid integers and disallow missing/undefined values.

Differential Revision: https://phabricator.services.mozilla.com/D152645
2022-09-14 17:48:17 +00:00
Alexandra Borovova
87706fdb4e Bug 1766240 - [bidi] Implement "script.getRealms" command. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D156049
2022-09-12 12:35:19 +00:00
Henrik Skupin
fd1f1425ea Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 11:58:45 +00:00
Henrik Skupin
16d96ac3fd Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Marian-Vasile Laza
27fd1e9739 Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin
f747c73194 Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 08:55:33 +00:00
Henrik Skupin
3246749215 Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00