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

1014 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin c374d74d10 Bug 1768580 - [geckodriver] Updates to Flags.md for --websocket-port argument. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D146000
2022-05-13 12:52:13 +00:00
Henrik Skupin e204a26f0d Bug 1731062 - [geckodriver] Further improvements for the release documentation. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D125789
2022-05-10 12:29:05 +00:00
James Graham 83e57ed2d0 Bug 1766125 - Update release notes to provide a workaround for snap-packaged Firefox, r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D145070
2022-05-10 09:28:11 +00:00
Henrik Skupin 7f0d8e4745 Bug 1763328 - [geckodriver] Use semver beside path for internal crate dependencies. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D143381
2022-04-12 18:34:35 +00:00
Henrik Skupin 345307a9f5 Bug 1723202 - [geckodriver] Updated 0.31.0 release notes for installing geckodriver via cargo install. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143350
2022-04-11 09:09:27 +00:00
Henrik Skupin c5341a61a3 Bug 1723202 - [geckodriver] Cargo.toml updates for publishing Marionette and geckodriver crates on crates.io. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143135
2022-04-07 09:27:54 +00:00
Henrik Skupin 3c928097bf Bug 1723202 - [geckodriver] Update changeset and release date for the 0.31.0 release. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142983
2022-04-07 07:05:49 +00:00
Henrik Skupin 84cef33d94 Bug 1723202 - [geckodriver] Release version 0.31.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D142982
2022-04-06 08:58:37 +00:00
Henrik Skupin d0502d6665 Bug 1723202 - [geckodriver] Fix markdownlinter warnings in Changes.md. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D142981
2022-04-06 08:58:37 +00:00
Henrik Skupin b879110706 Bug 1723202 - [marionette] Release version 0.2.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D142980
2022-04-06 08:58:36 +00:00
Henrik Skupin 050c3f1e28 Bug 1762752 - [geckodriver] Don't use named argument when formatting a message as long as minimum supported Rust version is 1.57.0 r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D142783
2022-04-04 08:14:28 +00:00
Henrik Skupin d1e06b69d1 Bug 1759994 - [geckodriver] Allow optional hosts and origins via command line arguments. r=webdriver-reviewers,jgraham
The Remote Agent expects the optional hosts and origins as
command line arguments now. As such geckodriver has to follow
and should no longer set the formerly used preferences.

Differential Revision: https://phabricator.services.mozilla.com/D142313
2022-04-02 11:47:16 +00:00
Csoregi Natalia adf09a8219 Backed out 4 changesets (bug 1761436, bug 1759994) for causing remote failures. CLOSED TREE
Backed out changeset f75298e767bb (bug 1759994)
Backed out changeset edfc642ff2f3 (bug 1759994)
Backed out changeset 3cce6dda3252 (bug 1759994)
Backed out changeset d0cc26a88d21 (bug 1761436)
2022-04-01 18:23:55 +03:00
Henrik Skupin 7db35d27ec Bug 1759994 - [geckodriver] Allow optional hosts and origins via command line arguments. r=webdriver-reviewers,jgraham
The Remote Agent expects the optional hosts and origins as
command line arguments now. As such geckodriver has to follow
and should no longer set the formerly used preferences.

Differential Revision: https://phabricator.services.mozilla.com/D142313
2022-04-01 11:31:30 +00:00
Henrik Skupin 69827cd1f6 Bug 1755312 - [geckodriver] Clippy and rustfmt fixes. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D141453
2022-03-25 12:18:18 +00:00
Henrik Skupin c4e801650e Bug 1755312 - [geckodriver] Account for an already existing MarionetteActivePort file. r=webdriver-reviewers,jgraham,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141358
2022-03-25 12:18:18 +00:00
Iulian Moraru a3123f6bf6 Backed out 2 changesets (bug 1755312) for causing wd failures on marionette_port.py. CLOSED TREE
Backed out changeset 6c795bd3f3d4 (bug 1755312)
Backed out changeset 4bb6093b4db3 (bug 1755312)
2022-03-22 18:14:51 +02:00
Henrik Skupin 33fcda833e Bug 1755312 - [geckodriver] Clippy and rustfmt fixes. r=webdriver-reviewers,jgraham
Depends on D141358

Differential Revision: https://phabricator.services.mozilla.com/D141453
2022-03-22 12:33:47 +00:00
Henrik Skupin 91895645ae Bug 1755312 - [geckodriver] Account for an already existing MarionetteActivePort file. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D141358
2022-03-22 12:33:47 +00:00
James Graham 39b2232e0b Bug 1755261 - Drive-by clippy fixes, r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D139932
2022-03-02 14:08:47 +00:00
James Graham be0322a09b Bug 1755261 - Improve handling of named profiles, r=webdriver-reviewers,whimboo
With named profiles we can't expect to write prefs, or to read the port out
of the profile path. So don't do these things.

Differential Revision: https://phabricator.services.mozilla.com/D138674
2022-03-02 14:00:15 +00:00
Henrik Skupin a9b637a615 Bug 1751196 - [geckodriver] androidPackage and binary capabilities are mutual exclusive. r=webdriver-reviewers,jgraham
It's only allowed to specify a desktop binary or an
Android package to start.

Differential Revision: https://phabricator.services.mozilla.com/D137564
2022-02-03 18:56:16 +00:00
Henrik Skupin 6bcdc9dd6d Bug 1751712 - [geckodriver] Forward allowed hosts and origins for WebDriver Bidi connections. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D136872
2022-02-03 12:57:48 +00:00
Cristian Tuns 07cb601a36 Backed out changeset db30af103b55 (bug 1751196) for causing Btime failures CLOSED TREE 2022-02-02 11:12:07 -05:00
Henrik Skupin 44ab758d92 Bug 1751196 - [geckodriver] androidPackage and binary capabilities are mutual exclusive. r=webdriver-reviewers,jgraham
It's only allowed to specify a desktop binary or an
Android package to start.

Differential Revision: https://phabricator.services.mozilla.com/D137564
2022-02-02 11:41:34 +00:00
Henrik Skupin 664b062854 Bug 1753083 - [geckodriver] Remove deprecated preferences from prefs.rs. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D137560
2022-02-02 11:41:33 +00:00
Henrik Skupin b3722a5dfa Bug 1753083 - [geckodriver] Remove deprecated check for "page load" timeout (Firefox <53). r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D137559
2022-02-02 11:41:33 +00:00
Henrik Skupin f1e06ea252 Bug 1753083 - [geckodriver] Remove version check for websocketUrl capability (Firefox >=91). r=webdriver-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D137558
2022-02-02 11:41:33 +00:00
Andi-Bogdan Postelnicu 7858c79fb2 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers
Updated with rustfmt 1.4.38-stable (db9d1b2 2022-01-20)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D137148
2022-01-31 17:00:21 +00:00
James Graham f09c241a85 Bug 1421766 - Make geckodriver read marionette port from MarionetteActivePort in profile, r=webdriver-reviewers,jdescottes,whimboo
When no marionette port is explicitly specified, and the Firefox
version is >= 95, pass in a port number of 0 from geckodriver to
firefox, so that marionette binds on a free port. Then read the port
it used from the profile. This avoids the possibility of races between
geckodriver picking a free port and marionette binding to that port.

This could also be used on Android, but isn't implemented as part of
this patch.

Differential Revision: https://phabricator.services.mozilla.com/D136740
2022-01-27 10:32:17 +00:00
Mike Hommey 29c3f32ae6 Bug 1751342 - Upgrade geckodriver to clap 3. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D136569
2022-01-22 21:45:34 +00:00
Sandor Molnar cb54700827 Backed out changeset 1e5f25dc1cf8 (bug 1751342) for causing browsertime failures. CLOSED TREE 2022-01-22 05:49:37 +02:00
Mike Hommey ff96ba86a5 Bug 1751342 - Upgrade geckodriver to clap 3. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D136569
2022-01-21 21:40:20 +00:00
James Graham 61e16aed2c Bug 1732622 - Fix clippy errors, r=webdriver-reviewers,whimboo
Using cargo clippy --fix

Differential Revision: https://phabricator.services.mozilla.com/D134316
2022-01-17 15:37:20 +00:00
James Graham b2d688e913 Bug 1732622 - Enable allowing given hosts and origins for geckodriver, r=webdriver-reviewers,freddyb,whimboo
The policy is now as follows:

* The `--host` command line flag can now be an actual hostname as well
  as in IP address.

* By default only requests with a `Host` header that is an IP address,
  or matching the value of the `--host` argument are accepted.

* If `--host` is a local IP address, we by default accept `localhost`
  in the `Host` header.

* When `--allow-hosts` is provided, only requests with a hostname
  matching the listed values, or an IP address, are accepted.

* By default any request with an `Origin` header is rejected.

* When `--allow-origins` is provided, only requests with no `Origin`
  header, or an origin matching the given values, are accepted.

Differential Revision: https://phabricator.services.mozilla.com/D129012
2022-01-17 15:37:20 +00:00
Marian-Vasile Laza 3f700a2540 Backed out 3 changesets (bug 1732622) for causing build bustages on server.rs. CLOSED TREE
Backed out changeset ab9d1e14386a (bug 1732622)
Backed out changeset 577a5b37f781 (bug 1732622)
Backed out changeset 46f1fb7f6fc0 (bug 1732622)
2022-01-17 16:38:26 +02:00
James Graham 08cf541648 Bug 1732622 - Fix clippy errors, r=webdriver-reviewers,whimboo
Using cargo clippy --fix

Differential Revision: https://phabricator.services.mozilla.com/D134316
2022-01-17 14:02:26 +00:00
James Graham 03a290a1a9 Bug 1732622 - Enable allowing given hosts and origins for geckodriver, r=webdriver-reviewers,freddyb,whimboo
The policy is now as follows:

* The `--host` command line flag can now be an actual hostname as well
  as in IP address.

* By default only requests with a `Host` header that is an IP address,
  or matching the value of the `--host` argument are accepted.

* If `--host` is a local IP address, we by default accept `localhost`
  in the `Host` header.

* When `--allow-hosts` is provided, only requests with a hostname
  matching the listed values, or an IP address, are accepted.

* By default any request with an `Origin` header is rejected.

* When `--allow-origins` is provided, only requests with no `Origin`
  header, or an origin matching the given values, are accepted.

Differential Revision: https://phabricator.services.mozilla.com/D129012
2022-01-17 14:02:26 +00:00
James Graham 3d92bd280b Bug 1748845 - Fix geckodriver docs links, r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D135380
2022-01-11 10:48:19 +00:00
James Graham d113e046c3 Bug 1652612 - Add CVE to release notes, r=whimboo,freddyb,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D134272
2021-12-20 11:13:24 +00:00
David Burns 4ef99ace6a Bug 1700093 - [geckodriver] Add support for "Get Element Shadow Root" r=webdriver-reviewers,whimboo,jgraham
This adds the support for "Get Element Shadow Root" from the WebDriver specification:
https://w3c.github.io/webdriver/#get-element-shadow-root

Differential Revision: https://phabricator.services.mozilla.com/D110938
2021-12-03 14:02:21 +00:00
Mike Hommey 848a31c4e7 Bug 1737196 - Remove semicolon in rust macro. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D129225
2021-10-22 20:33:53 +00:00
James Graham ed590c7b4e Bug 1736991 - Fix clippy warnings in geckodriver crate, r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D129130
2021-10-22 11:46:31 +00:00
Henrik Skupin 591d2d39b9 Bug 1301073 - [geckodriver] Don't send "name" argument for "WebDriver:SwitchToWindow" to Marionette. r=webdriver-reviewers,jgraham
Starting with geckodriver 0.25.0 the "handle" argument (available
since Firefox 67) for the "WebDriver:SwitchToWindow" call to
Marionette has been added. Since then the "name" argument in
Marionette has been removed (Firefox 80).

That means sending "name" is no longer necessary, and can be
removed. By doing that the minimum supported Firefox version
will be bumped to Firefox 80.0.

Differential Revision: https://phabricator.services.mozilla.com/D88958
2021-10-18 18:44:07 +00:00
Henrik Skupin cc4005cfd2 Bug 1732622 - [geckodriver] Update release notes for host check regression. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D128750
2021-10-18 18:32:04 +00:00
Alex Lopez 63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-27 18:12:51 +00:00
Butkovits Atila eb735ac57e Backed out changeset 53b1fa0faa6d (bug 1696251) for breaking the static-analysis integration. a=backout 2021-09-23 13:06:40 +03:00
Alex Lopez a8e7083c84 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-21 20:38:16 +00:00
Butkovits Atila c06a3dd9fa Backed out changeset 510dd46a9de7 (bug 1696251) for causing Android build bustages. 2021-09-21 05:16:50 +03:00
Alex Lopez fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00