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

122 Коммитов

Автор SHA1 Сообщение Дата
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
Sebastian Hengst d4d94c196f Backed out changeset 010032851619 (bug 1371405) 2017-06-20 21:23:05 +02:00
David Burns 34d225aec8 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 : c3b6cb7d0e2b7f7423d7880a936df52d081cd867
2017-06-19 15:42:25 +01:00
Carsten "Tomcat" Book 3851092f35 Backed out changeset 289753493fdf (bug 1371405) 2017-06-20 16:03:46 +02:00
David Burns 4e394ad086 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 : 080e3a35972079b86b03b731e83e5171c5918da4
2017-06-19 15:42:25 +01:00
Henrik Skupin 34e680df7b Bug 1369709 - Release geckodriver 0.17.0. r=ato
MozReview-Commit-ID: 9I4FM2TCBez

--HG--
extra : rebase_source : da4fb291067a585ae3e9d8f70be1b0ebd770908e
2017-06-07 20:45:18 +02:00
David Burns a7b15fe05b Bug 1370510: Implement Fullscreen Window command r=jgraham
This implements the geckodriver support for the Fullscreen Window command.
The API was introduced in the webdriver crate in
https://github.com/mozilla/webdriver-rust/pull/100

MozReview-Commit-ID: 3eIuLmGWl2x

--HG--
extra : rebase_source : 55b38b1ff2850d44b79270194874e7418d34a907
2017-06-07 12:42:30 +01:00
Henrik Skupin 6ed7ad2776 Bug 1369708 - Avoid setting of default preferences by mozrunner. r=ato
Update dependencies for mozrunner (0.4) and mozprofile (0.3) to
stop setting default preferences by mozrunner. This will also allow
to overwrite all preferences now via the moz:firefoxOptions capability.

MozReview-Commit-ID: IU0oKzRnnfG

--HG--
extra : rebase_source : 7f8946f7e22af9beebaddc52c78d549ddc898c87
2017-06-02 14:40:29 +02:00
Andreas Tolfsen eda48cff40 Bug 1340637 - Provide build rules for geckodriver; r=jgraham,ted
geckodriver is the Mozilla implementation of the WebDriver remote
control interface for Gecko, and provides an HTTPD proxy that
translates the WebDriver protocol to Marionette.

Building this as part of the Firefox build will allow us to run
WPT WebDriver tests to verify our implementation of Marionette and
geckodriver.  It also makes it less painful to make changes across
projects.

This change will cause the geckodriver program to be built as part
of regular Firefox builds, except on macOS and Android, and when artifact
builds are enabled.

RUST_PROGRAMS in cross-compile environments cause the wrong linker to
be used.  When this bug is fixed, we should be able to enable building
of geckodriver on macOS.  This work is tracked in:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1329737

On Android, we may one to build a binary for the host system to use
(x86_64), instead of an ARM binary for the emulator.

MozReview-Commit-ID: FG5tmPv4iut

--HG--
extra : rebase_source : 091728fd2582458325689fc6e3d8b317428802d8
2017-05-23 14:55:54 +01:00
Andreas Tolfsen cd42e36f6d geckodriver: cargo: release 0.16.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: dd567ba607b71aba72970840f8e61ec91f1489dd

--HG--
extra : rebase_source : 66d2d9535d91ca7fa173e3da93eeb9a603dda7d6
2017-04-26 13:59:45 +01:00
Andreas Tolfsen 5dc25c25ba geckodriver: cargo, changes, readme: release v0.16.0 (#664)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 03f50a7fb12be47e61234020d902891c5eec840e

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : aafcf7e4cded0edc9554d4334753f7e9ad9a9c6e
2017-04-21 16:07:01 +01:00
Andreas Tolfsen c46c437826 geckodriver: cargo, marionette: upgrade to webdriver 0.25.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8dd4d2ae567a99d6dba9060cfadecf3acea8823d

--HG--
extra : rebase_source : 683f5d9ab463dd2a00cde705bcaede68ecbaecb0
2017-04-10 13:36:27 +01:00
James Graham 6329d1b840 geckodriver: Support the new version of the new session command.
Support the alwaysMatch/firstMatch new session command. Move the
capabilities handling into geckodriver as far as possible so that
marionette itself should not be rejecting sessions (as this is
expensive and can only happen after gecko starts). Use mozversion to
provide (currently somewhat hacky) version number matching for the
browserVersion capability.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6f1e3c192463342a0a49f5f3f0af914ad0e1ae7a

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : eec91abc5dcab0f35cd758ad1900a5d15988bd0d
2017-03-27 19:39:21 +01:00
James Graham bea0aabeed geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 11656587d1879ef858e865cb0c770075e1658e6c

--HG--
extra : rebase_source : d5c79b209b478e2c25765eebdd06b20402d8f84a
2017-03-08 11:34:04 +00:00
Andreas Tolfsen 999b4513d4 geckodriver: cargo: upgrade to webdriver v0.23.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bee0209683503998ab7564de6a20eb8d1d41fa2c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 4b0e6e8370aff7c725e4a62a4ae6ff72e9cf4bda
2017-03-03 16:38:14 +00:00
James Graham c50b7c4a10 geckodriver: Update to webdriver 0.22
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d41e06d30e21f9bf5832c1b6c728119cb496a11c

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : d58aff61bd0af08e318bf65620cf51114fe8b630
2017-02-27 17:32:18 +00:00
Andreas Tolfsen 761fb7defd geckodriver: cargo, marionette: upgrade to webdriver 0.21.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 09231df3527c0c37f2cc2210072683d6d8cbdbf5

--HG--
extra : rebase_source : 2515f67c547c9d09b295f87f1bc7828b8b3a1ff2
2017-02-24 17:44:11 +00:00
Andreas Tolfsen 2e06093f21 geckodriver: cargo: bump version number to 0.14.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a49be92cc43391168fe89e833135b4d57fa5a3e8

--HG--
extra : rebase_source : e3bc625479e8b85215878f892d75e8aebd3a5ac7
2017-01-31 17:07:17 +00:00
Andreas Tolfsen 33654bc7d7 geckodriver: cargo: can only have five keywords
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 186cc1ed029eaf751dd7bdbceb24ec0293640c24

--HG--
extra : rebase_source : 9da10c1963b6df8fda8542d48f6f04dbde198ca8
2017-01-31 17:02:28 +00:00