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

140 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 82ef950b03 Bug 1577850 - Use GeckoView configuration YAML file in geckodriver. r=nalexander,webdriver-reviewers,jgraham
This makes geckodriver configure GeckoView vehicles using a
configuration YAML file.  This is the [blessed way to configure such
vehicles](https://mozilla.github.io/geckoview/consumer/docs/automation).

The old way based on intent arguments is kept as long as Fennec
needs to be supported because it doesn't read the configuration file.
And other packages, which are based on GeckoView, will ignore
package specific intent arguments.

The configuration file is always pushed, even when it will be
ignored by the relevant package.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 20:39:55 +00:00
Henrik Skupin dd5317eeba Bug 1525126 - [geckodriver] Add Android support. r=jgraham,nalexander
This patch allows geckodriver to interact with processes of
GeckoView packages on Android devices while running itself
on a host machine. The connection to and from the application
under test is done via adb forward ports.

Depends on D45363

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:00:40 +00:00
Andreas Tolfsen 434177bc50 bug 1580767: geckodriver: start next development iteration 0.26.0-alpha.0; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D45642

--HG--
extra : moz-landing-system : lando
2019-09-17 00:00:24 +00:00
Mihai Alexandru Michis c5da0a1525 Backed out changeset da09c5a42598 (bug 1580767) for causing SM bustages. CLOSED TREE 2019-09-16 20:58:17 +03:00
Andreas Tolfsen 521d832d41 bug 1580767: geckodriver: start next development iteration 0.26.0-alpha.0; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D45642

--HG--
extra : moz-landing-system : lando
2019-09-16 13:06:43 +00:00
Bastien Orivel 081b88925b Bug 1580908 - Part 1: Update uuid to 0.7 to dedupe it. r=froydnj
This also removes a dependency on rand 0.4 getting it closer to being
able to remove that.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:45:58 +00:00
Andreas Tolfsen 1051a714ee bug 1520585: geckodriver: release 0.25.0; r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44662

--HG--
extra : moz-landing-system : lando
2019-09-09 11:00:31 +00:00
Nick Alexander b28f390d99 Bug 1534533 - Pre: Remove bzip2 dependency from geckodriver. r=chmanchester,whimboo
The `zip` dependency doesn't appear to require `bzip2`, and `bzip2` is
tricky to cross-compile, so the feature set is restricted to ease the
build task.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 20:53:16 +00:00
Nupur Baghel abd75c134f Bug 1564416 - Hook up marionette crate to geckodriver. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D37703

--HG--
extra : moz-landing-system : lando
2019-07-11 12:50:17 +00:00
Henrik Skupin 9abcc24777 Bug 1495062 - [geckodriver] Release 0.24.0. r=ato
Depends on D17682

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:20:03 +00:00
Bastien Orivel a640e5b81f Bug 1516262 - Part 1: Update base64 and bump webdriver's version; r=ato 2019-01-02 12:13:07 +00:00
Myk Melez 898ee70419 Bug 1500259 - update rkv to 0.5 and uuid to 0.6 r=froydnj
Updating rkv to 0.5 enables us to un-vendor new-ordered-float, as rkv 0.4 is the last crate in the tree that depends on it.

    It also enables us to un-vendor version 0.5 of uuid. We previously needed that version because multiple third-party crates depended on it, and we have limited control over third-party sub-dependencies. But rkv 0.4 was the last third-party crate that still depended on version 0.5 of uuid; rkv 0.5 depends on version 0.6 of uuid.

    There would still be two internal crates that depend on version 0.5 of uuid: geckodriver and webrender_bindings. But we have more control over internal sub-dependencies, and we can update those two internal crates to depend on version 0.6 of uuid. This patch does so.

    To summarize, this patch makes the following changes:

    * rkv: 0.4 -> 0.5
    * new-ordered-float: un-vendored
    * geckodriver: uuid dependency 0.5 -> 0.6
    * webrender_bindings: uuid dependency 0.5 -> 0.6
    * uuid 0.5: un-vendored
    * uuid 0.6: remains in tree

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

--HG--
extra : moz-landing-system : lando
2018-10-22 16:31:40 +00:00
Andreas Tolfsen e82d7312d5 bug 1491288: geckodriver: release 0.23.0; r=whimboo
Depends on D7301

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

--HG--
extra : moz-landing-system : lando
2018-10-03 15:00:04 +00:00
Matt Brubeck 62b8be205c Bug 1492001 - Update geckodriver Rust dependencies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6168

--HG--
extra : moz-landing-system : lando
2018-09-18 17:51:03 +00:00
Noemi Erli 724848c2db Backed out 2 changesets (bug 1492001) for Btup build bustages
Backed out changeset 6ec9bc89a5b3 (bug 1492001)
Backed out changeset 238fdce77ee9 (bug 1492001)

--HG--
rename : third_party/rust/num-integer/bors.toml => third_party/rust/num/bors.toml
2018-09-18 20:38:24 +03:00
Matt Brubeck 0aca2432c6 Bug 1492001 - Update geckodriver Rust dependencies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6168

--HG--
extra : moz-landing-system : lando
2018-09-18 16:35:05 +00:00
Andreas Tolfsen 6a9f20ef8a bug 1466818: geckodriver: release version 0.22.0; r=whimboo 2018-09-16 00:12:13 +01:00
Bastien Orivel 7ef3fa6f4a Bug 1489792 - Part 1: Update base64 to 0.9. r=ato 2018-09-11 10:18:40 +01:00
Bastien Orivel 963e21bf7f Bug 1484462 - Update webdriver to hyper 0.12. r=ato 2018-08-23 13:15:22 +01:00
Henrik Skupin dbe7ef467d Bug 1396821 - [geckodriver] Switch geckodriver crate from rustc_serialize to serde. r=ato
The patch switches the serialization and deserialization of data
structures from the rustc_serialize crate to serde. By doing that
all the custom code for serialization and deserialization can be
removed in favor of serde's automatically derived serializers and
deserializers.

MozReview-Commit-ID: B8H3bZQKkJ7

--HG--
extra : rebase_source : 9f6a18d1f3be15237133ce7e9b0bd7f0d8126429
2018-08-22 10:27:35 +02:00
Andreea Pavel 0bcfe81a06 Backed out 6 changesets (bug 1396821) for linux tier2 build bustages on a CLOSED TREE
Backed out changeset 2fa2975f97e3 (bug 1396821)
Backed out changeset c5895db52483 (bug 1396821)
Backed out changeset 5c0ddd45f926 (bug 1396821)
Backed out changeset 7c97853a85b9 (bug 1396821)
Backed out changeset b61ce753f01e (bug 1396821)
Backed out changeset 7ef3912feb2c (bug 1396821)

--HG--
rename : third_party/rust/serde_json/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT
2018-08-21 20:20:24 +03:00
Henrik Skupin 35d04474d0 Bug 1396821 - [geckodriver] Switch geckodriver crate from rustc_serialize to serde. r=ato
MozReview-Commit-ID: B8H3bZQKkJ7

--HG--
extra : rebase_source : 17b5a8caad6bfed2bc83d333438476f75f3850c3
2018-08-20 17:43:25 +02:00
Myk Melez 2c2b6eebf9 Bug 1445451 - vendor rkv; r=froydnj
MozReview-Commit-ID: KbcADpNltYq

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

--HG--
rename : third_party/rust/synstructure/.cargo-checksum.json => third_party/rust/synstructure-0.8.1/.cargo-checksum.json
rename : third_party/rust/synstructure/Cargo.toml => third_party/rust/synstructure-0.8.1/Cargo.toml
rename : third_party/rust/synstructure/README.md => third_party/rust/synstructure-0.8.1/README.md
rename : third_party/rust/synstructure/src/lib.rs => third_party/rust/synstructure-0.8.1/src/lib.rs
rename : third_party/rust/synstructure/src/macros.rs => third_party/rust/synstructure-0.8.1/src/macros.rs
extra : moz-landing-system : lando
2018-08-09 19:42:17 +00:00
Daniel Varga edef4f17d4 Backed out changeset 08fa47a24e89 (bug 1445451) for failing Btup 2018-08-09 02:20:25 +03:00
Myk Melez 2d46903ee1 Bug 1445451 - vendor rkv r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2246

--HG--
rename : third_party/rust/synstructure/.cargo-checksum.json => third_party/rust/synstructure-0.8.1/.cargo-checksum.json
rename : third_party/rust/synstructure/Cargo.toml => third_party/rust/synstructure-0.8.1/Cargo.toml
rename : third_party/rust/synstructure/README.md => third_party/rust/synstructure-0.8.1/README.md
rename : third_party/rust/synstructure/src/lib.rs => third_party/rust/synstructure-0.8.1/src/lib.rs
rename : third_party/rust/synstructure/src/macros.rs => third_party/rust/synstructure-0.8.1/src/macros.rs
extra : moz-landing-system : lando
2018-08-08 20:59:21 +00:00
Andreas Tolfsen 613302c829 Bug 1441204 - Release geckodriver 0.21.0. r=maja_zf
MozReview-Commit-ID: Hpi9mXLax5f

--HG--
extra : rebase_source : 66f4e4f29e36985402f22bc45bda50372d8fe65c
2018-06-14 13:30:07 -07:00
Bastien Orivel 3eb765c7e3 Bug 1463251 - Part 1. Update regex in both webdriver and geckodriver. r=ato,jgraham
Also bump webdriver's version so it can be released and updated in servo

MozReview-Commit-ID: 7jMycZ6t3mm

--HG--
extra : rebase_source : 44d0b436e303d427a8b4c06e5b97538a76fd3f8c
2018-05-21 22:24:30 +02:00
Andreas Tolfsen 72dbcecec2 Bug 1449877 - Release geckodriver 0.20.1. r=whimboo
MozReview-Commit-ID: EsDa2dDbCYH

--HG--
extra : rebase_source : d18a3a08d5069e3fa97dd12e353bb8b00a2eebfe
2018-04-03 11:19:39 +01:00
Andreas Tolfsen ea34c24a48 Bug 1401129 - Release geckodriver 0.20.0. r=whimboo
MozReview-Commit-ID: Lip1pab8D0f

--HG--
extra : rebase_source : 89fd332817e87cd0d7e45ed527d714237131e842
2018-03-08 16:06:59 +00:00
Andreas Tolfsen 81fa95e56a Bug 1439329 - Upgrade to zip 0.3. r=jgraham
MozReview-Commit-ID: 9wBZetdSHrb

--HG--
extra : rebase_source : 61d10c5476aeadc87b6a47604a9f9b56d56aa9db
2018-02-19 12:32:39 +01:00
Matt Brubeck 0e0df51227 Bug 1438954 - geckodriver: Upgrade to lazy_static 1.0.0. r=jgraham
MozReview-Commit-ID: 2LelV9rdyB5

--HG--
extra : rebase_source : adb01cb74e6fb9653c881dd03fd3374ceb140aa1
2018-02-16 10:30:49 -08:00
Andreas Tolfsen 17b0dc46fa Bug 1436830 - Roll own log::Log implementation in geckodriver. r=jgraham,rillian
This provides a custom implementaiton of log::Log for geckodriver,
effectively making slog redundant in central.

slog is, for our purposes, an unnecessarily complicated crate
to depend on.  With Rust 1.24 transitioning to stable soon,
we need to prepare code and crates in central for this change.
geckodriver only uses slog for the single purpose of changing the
log level at runtime, and it would be less work to roll our own
logger implementation than it would be to grok the slog API changes.

MozReview-Commit-ID: 2wyS8e6s2mr

--HG--
extra : rebase_source : 04f6202faf9dd266d4914f3f6eefd0669163a25e
2018-02-08 21:07:29 +00:00
Andreas Tolfsen 6505810ac8 Bug 1430157 - Move geckodriver to use in-tree mozprofile. r=jgraham
The third_party/rust/mozprofile has not been deleted because mozrunner
also depends on it.  We will have to run "./mach vendor rust" again
once both these changes have landed in order to remove the third-party
dependency from crates.io.  This work is tracked in bug 1430158.

MozReview-Commit-ID: 5Q3PdTS03wm

--HG--
extra : rebase_source : a3b52bcb4c2047ddd81b830e4e2f349d8396ee79
2018-01-12 16:21:17 +00:00
Andreas Tolfsen 5b3c485463 Bug 1429511 - Move geckodriver to in-tree mozrunner. r=jgraham
This deletes the third-party mozrunner crate off crates.io in favour
of using the in-tree version from testing/mozbase/rust/mozrunner.

MozReview-Commit-ID: 6xQZ99FYrdP

--HG--
extra : rebase_source : 90ef2df2924d4194652255728d73ee03ed729ac3
2018-01-12 15:36:55 +00:00
Andreas Tolfsen c28541fa14 Bug 1430152 - Move geckodriver to in-tree mozversion. r=jgraham
MozReview-Commit-ID: A8yb1joLYfv

--HG--
extra : rebase_source : 86914b495fae687250b18413011e4b19741eb486
2018-01-12 16:09:28 +00:00
Andreas Tolfsen 128ae86a8c Bug 1412037 - Prevent geckodriver from being published. r=jgraham
This prevents the geckodriver crate from being published to a
package registry like crates.io by mistake.

MozReview-Commit-ID: 7Qc9vaPhdJh

--HG--
extra : rebase_source : ec1f470a69c14c240b2cb522eb4475b22ed4a9da
2017-10-30 16:07:06 +00:00
Andreas Tolfsen 0d1f521e56 Bug 1412037 - Release geckodriver 0.19.1. r=jgraham
MozReview-Commit-ID: 4G4Vk5D86Nm

--HG--
extra : rebase_source : 98fb1c61cb1d2714158a502187b892ec58ce7dee
2017-10-26 18:10:51 +01:00
Henrik Skupin d361d3aadb Bug 1391605 - Bump geckodriver to 0.19.0. r=ato
MozReview-Commit-ID: 4ai3ShcNhdS

--HG--
extra : rebase_source : bd255ed9864e484cb3ac395d999d5d5ac6c44425
2017-09-14 18:08:28 +02:00
Henrik Skupin 43678cf327 Bug 1398057 - Not all command arguments are printed to the log. r=jgraham
By logging the used browser arguments from geckodriver only the
-marionette argument ends up in the log. Instead mozrunner should
be used which knows about any of them.

MozReview-Commit-ID: J9px0pWSwQm

--HG--
extra : rebase_source : 36730f7c2ecffa7a28dda3d16404f523bd075d35
2017-09-13 09:15:42 +02:00
Henrik Skupin 71551dcd13 Bug 1388251 - Bump mozrunner crate to version 0.5.0. r=jgraham
MozReview-Commit-ID: IhMuuz7EWv3

--HG--
extra : rebase_source : 0fef4fa63e5b808b9b163f04f3f79c1cfe68dbda
2017-09-11 20:43:43 +02:00
Andreas Tolfsen c722f88ac8 Bug 1368265 - Update geckodriver and webdriver Cargo.tomls. r=automatedtester
MozReview-Commit-ID: 6MsrxinrYEp

--HG--
extra : rebase_source : c0f5b076183c53c86aae0e757b6ef391f1eba8c1
2017-09-03 16:24:55 +01:00
Andreas Tolfsen 8e1b5b4d8b Bug 1368265 - Use in-tree testing/webdriver. r=automatedtester
MozReview-Commit-ID: R74BGZOBBx

--HG--
extra : rebase_source : 263d5cdf7317bdea6b4bcf3d2b7256429da9d4cf
2017-09-03 16:15:48 +01:00
Henrik Skupin 700634d241 Bug 1369827 - Upgrade webdriver crate to 0.30. r=ato
MozReview-Commit-ID: GRWyIULr0ly

--HG--
extra : rebase_source : 9661736af2db4f6655cd43a36e45b8caf09a32ef
2017-08-15 12:32:06 +02:00
Henrik Skupin 2c0bc01a9a Bug 1388249 - Upgrade to mozrunner 0.4.2. r=jgraham
MozReview-Commit-ID: 5cexJ4uJnB1

--HG--
extra : rebase_source : b643bb0fa203bee5bda765fea62f515a139a55d5
2017-08-23 12:25:03 +02:00
Andreas Tolfsen a68cdde16c Bug 1388365 - Upgrade to webdriver 0.29.0. r=whimboo
Upgrades the webdriver crate dependency to 0.29.0, which contains some
backwards incompatible changes for RectResponse.  This type has been
split in two, WindowRectResponse and ElementRectResponse.

The former type contains a new "state" field which is already implemented
by Marionette.  Because geckodriver is used with a range of earlier
Firefoxen, it defaults to "normal" window state if the field is not
returned from Marionette.  This is acceptable.

MozReview-Commit-ID: FRxppRVmiZl

--HG--
extra : rebase_source : 4a86659f337598bb4f5623c51f5df288c8a5dd69
2017-08-08 15:09:45 +01:00
Yangyi Peng f2b8c04562 Bug 1380936 - Add Minimize Window command to geckodriver; r=ato
MozReview-Commit-ID: Le6rAUMDjwe

--HG--
extra : rebase_source : 2120abbe4a4c57be3d669f02e29dc2ac03b1a90f
2017-08-01 11:42:58 +08:00
Andreas Tolfsen 2ec9000e7f Bug 1379482 - Release geckodriver 0.18.0; r=jgraham
MozReview-Commit-ID: LDb9G7srbcz

--HG--
extra : rebase_source : bd2592ba2827c7e775cda854f4e77807a784bded
2017-07-10 16:53:01 +01:00
Andreas Tolfsen 2775e687c8 Bug 1379482 - Update geckodriver repository address; r=jgraham
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory.  Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.

MozReview-Commit-ID: LmnviuC7Z9Y

--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
2017-07-10 14:47:17 +01:00
Andreas Tolfsen 27406dfcac Bug 1379482 - Upgrade mozrunner to 0.4.1; r=jgraham
Upgrades the mozrunner crate dependency by pinning it to 0.4.1.  With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.

This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.

MozReview-Commit-ID: 8emDKbiYd0S

--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
2017-07-10 16:52:41 +01:00
David Burns 4691012f79 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : 137941518076a8d99e5b8c40ac67ad60d9f205b9
2017-06-19 15:42:25 +01:00