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

669 Коммитов

Автор SHA1 Сообщение Дата
Kirk Steuber 59411d310b Bug 1458308 - Remove app.update.auto and app.update.enabled from prefs.rs and marionette.js r=rstrong,ato
`app.update.auto` should actually never have been needed here. `app.update.disabledForTesting`, and before that, `app.update.enabled` will prevent updates altogether. Now that the `app.update.auto` pref is not the correct mechanism for disabling automatic update, this pref should be removed from these files.

`app.update.enabled` can also be removed from prefs.rs at this time as per the comment in the file indicating that it can be removed when Firefox 62 stabilizes.

Depends on D10315

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:16:19 +00:00
Andreas Tolfsen d01569b0be bug 1504440: geckodriver: fix warning about peer review; r=whimboo
The warning talks about the Marionette Python client, but this
is geckodriver.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 10:26:24 +00:00
Henrik Skupin 40dd8ab3a1 Bug 1503804 - [geckodriver] Fix serialization of "Take Element Screenshot" parameters for Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D10626

--HG--
extra : moz-landing-system : lando
2018-11-05 16:42:03 +00:00
Andreas Tolfsen 956393fdb6 bug 1502864: geckodriver: support strictFileInteractability; r=jgraham
The strictFileInteractability capability is always supported by
geckodriver.

Depends on D10273

Depends on D10273

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

--HG--
extra : moz-landing-system : lando
2018-11-03 16:31:18 +00:00
Ciure Andrei ea4e67046a Backed out 8 changesets (bug 1502864) for failing test_capabilities.py CLOSED TREE
Backed out changeset 6e4454a6f3ee (bug 1502864)
Backed out changeset 3f7ca511af8c (bug 1502864)
Backed out changeset 9382a6630231 (bug 1502864)
Backed out changeset 1eb51f6b4ba0 (bug 1502864)
Backed out changeset 2fda41394085 (bug 1502864)
Backed out changeset 0b421dd8a7d5 (bug 1502864)
Backed out changeset 9caa2f0e2e38 (bug 1502864)
Backed out changeset 7616e25a07b3 (bug 1502864)
2018-11-02 19:14:52 +02:00
Andreas Tolfsen 8c57572284 bug 1502864: geckodriver: support strictFileInteractability; r=jgraham
The strictFileInteractability capability is always supported by
geckodriver.

Depends on D10273

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:02 +00:00
Andreas Tolfsen 659731e7e2 bug 1431148: geckodriver: add TakeFullScreenshot command; r=whimboo
This adds a new proprietary extension command to geckodriver for
taking a screenshot of the full document.  The new endpoint is GET
/session/{session id}/moz/screenshot/full and returns, like the
Take Screenshot and Take Element Screenshot, a Base64 encoded string.

Depends on D9419

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

--HG--
extra : moz-landing-system : lando
2018-10-29 11:07:28 +00:00
Sebastian Hengst 1ad50182a7 merge mozilla-central to autoland
--HG--
rename : third_party/rust/nom/.cargo-checksum.json => third_party/rust/nom-3.2.1/.cargo-checksum.json
rename : third_party/rust/nom/CHANGELOG.md => third_party/rust/nom-3.2.1/CHANGELOG.md
rename : third_party/rust/nom/Cargo.toml => third_party/rust/nom-3.2.1/Cargo.toml
rename : third_party/rust/nom/src/bits.rs => third_party/rust/nom-3.2.1/src/bits.rs
rename : third_party/rust/nom/src/branch.rs => third_party/rust/nom-3.2.1/src/branch.rs
rename : third_party/rust/nom/src/bytes.rs => third_party/rust/nom-3.2.1/src/bytes.rs
rename : third_party/rust/nom/src/character.rs => third_party/rust/nom-3.2.1/src/character.rs
rename : third_party/rust/nom/src/internal.rs => third_party/rust/nom-3.2.1/src/internal.rs
rename : third_party/rust/nom/src/lib.rs => third_party/rust/nom-3.2.1/src/lib.rs
rename : third_party/rust/nom/src/macros.rs => third_party/rust/nom-3.2.1/src/macros.rs
rename : third_party/rust/nom/src/methods.rs => third_party/rust/nom-3.2.1/src/methods.rs
rename : third_party/rust/nom/src/multi.rs => third_party/rust/nom-3.2.1/src/multi.rs
rename : third_party/rust/nom/src/nom.rs => third_party/rust/nom-3.2.1/src/nom.rs
rename : third_party/rust/nom/src/regexp.rs => third_party/rust/nom-3.2.1/src/regexp.rs
rename : third_party/rust/nom/src/sequence.rs => third_party/rust/nom-3.2.1/src/sequence.rs
rename : third_party/rust/nom/src/simple_errors.rs => third_party/rust/nom-3.2.1/src/simple_errors.rs
rename : third_party/rust/nom/src/str.rs => third_party/rust/nom-3.2.1/src/str.rs
rename : third_party/rust/nom/src/stream.rs => third_party/rust/nom-3.2.1/src/stream.rs
rename : third_party/rust/nom/src/traits.rs => third_party/rust/nom-3.2.1/src/traits.rs
rename : third_party/rust/nom/src/util.rs => third_party/rust/nom-3.2.1/src/util.rs
rename : third_party/rust/nom/src/verbose_errors.rs => third_party/rust/nom-3.2.1/src/verbose_errors.rs
rename : third_party/rust/nom/src/whitespace.rs => third_party/rust/nom-3.2.1/src/whitespace.rs
rename : third_party/rust/nom/tests/arithmetic.rs => third_party/rust/nom-3.2.1/tests/arithmetic.rs
rename : third_party/rust/nom/tests/arithmetic_ast.rs => third_party/rust/nom-3.2.1/tests/arithmetic_ast.rs
rename : third_party/rust/nom/tests/blockbuf-arithmetic.rs => third_party/rust/nom-3.2.1/tests/blockbuf-arithmetic.rs
rename : third_party/rust/nom/tests/cross_function_backtracking.rs => third_party/rust/nom-3.2.1/tests/cross_function_backtracking.rs
rename : third_party/rust/nom/tests/float.rs => third_party/rust/nom-3.2.1/tests/float.rs
rename : third_party/rust/nom/tests/ini.rs => third_party/rust/nom-3.2.1/tests/ini.rs
rename : third_party/rust/nom/tests/ini_str.rs => third_party/rust/nom-3.2.1/tests/ini_str.rs
rename : third_party/rust/nom/tests/issues.rs => third_party/rust/nom-3.2.1/tests/issues.rs
rename : third_party/rust/nom/tests/json.rs => third_party/rust/nom-3.2.1/tests/json.rs
rename : third_party/rust/nom/tests/mp4.rs => third_party/rust/nom-3.2.1/tests/mp4.rs
rename : third_party/rust/nom/tests/multiline.rs => third_party/rust/nom-3.2.1/tests/multiline.rs
rename : third_party/rust/nom/tests/named_args.rs => third_party/rust/nom-3.2.1/tests/named_args.rs
rename : third_party/rust/nom/tests/omnom.rs => third_party/rust/nom-3.2.1/tests/omnom.rs
rename : third_party/rust/nom/tests/overflow.rs => third_party/rust/nom-3.2.1/tests/overflow.rs
rename : third_party/rust/nom/tests/reborrow_fold.rs => third_party/rust/nom-3.2.1/tests/reborrow_fold.rs
rename : third_party/rust/nom/tests/test1.rs => third_party/rust/nom-3.2.1/tests/test1.rs
extra : rebase_source : 6c5b45c092fd51bf1b3ce15960416fb59311d152
2018-10-22 20:34:24 +03:00
Andreas Tolfsen 6bfc81ba93 bug 1500938: geckodriver: mention canonical source code location in README; r=me
DONTBUILD
2018-10-22 15:47:43 +01: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
Henrik Skupin c0389d79a5 Bug 1494637 - [geckodriver] Remove custom serialization of JavascriptCommandParameters for Marionette. r=ato
The argument "specialPowers" is no longer used in Marionette
and as such can be removed from the serialization.

The default value for "newSandbox" in Marionette is false,
so it doesn't need to be explicitely set in geckodriver.

By removing those two properties a custom serialization
is no longer neccessary.

Depends on D7210

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

--HG--
extra : moz-landing-system : lando
2018-10-15 20:35:33 +00:00
Andreas Tolfsen a7c654c745 bug 1425365: geckodriver: re-enable rust tests on windows; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D8723

--HG--
extra : moz-landing-system : lando
2018-10-15 14:30:30 +00:00
Andreas Tolfsen ad4bd2ee4c bug 1497961: geckodriver: remove reference to MOZ_HEADLESS; r=me 2018-10-10 19:02:49 +01:00
Andreas Tolfsen de069c2901 bug 1497882: geckodriver: add link to perl api docs; r=me
DONTBUILD
2018-10-10 14:56:41 +01:00
Andreas Tolfsen 10d442575f bug 1496987: geckodriver: turn off arm7hf builds; r=automatedtester
The intent to turn off ARMv7 HF builds before
the geckodriver 1.0 release was announced in
https://lists.mozilla.org/pipermail/tools-marionette/2018-September/000035.html.

In order to create as few surprises as possible before 1.0, we
should turn off ARMv7 HF builds on Travis first.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 12:46:33 +00:00
Henrik Skupin cef73eeb29 Bug 1496311 - [geckodriver] Fix broken formatting of table in Support.md. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D7859

--HG--
extra : moz-landing-system : lando
2018-10-05 12:45:43 +00:00
Noemi Erli 8bb8254a13 Merge inbound to mozilla-central. a=merge 2018-10-04 07:03:25 +03:00
Andreas Tolfsen 723e4c7c08 bug 1491288: geckodriver: add 0.23.0 to list of supported versions; r=jgraham
Depends on D7302

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

--HG--
extra : moz-landing-system : lando
2018-10-03 16:08:49 +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
Andreas Tolfsen 3ec2e106ce bug 1491288: geckodriver: update changelog; r=whimboo
Depends on D7300

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

--HG--
extra : moz-landing-system : lando
2018-10-03 15:00:02 +00:00
Bogdan Tara 694baf8d92 Merge inbound to mozilla-central. a=merge 2018-09-30 00:55:39 +03:00
Andreas Tolfsen 3b820772e5 bug 1494613: geckodriver: convert logging::Level to Pref r=whimboo
The patch c1df1c2e46f6 contained a faulty rebase where the coercion
of logging::max_level() changed from the Pref type to a string.

The string representation of geckodriver::logging::Level is given
in upper-case, e.g. "INFO", and the Pref representation is given as
"Info" to be compatible with managing the log level from Log.jsm in Gecko.

This inadvertently caused
https://github.com/web-platform-tests/wpt/issues/12166 to reappear
in almost the same way: before the problem was that Marionette’s
frame script always included all log level entries.  This was fixed
with https://bugzilla.mozilla.org/show_bug.cgi?1482829, but then
https://bugzilla.mozilla.org/show_bug.cgi?id=1396821 broke it so
that log entries also from chrome space appeared.
2018-09-29 15:45:30 +01:00
Andreas Tolfsen e57b0ae094 bug 1494613: geckodriver: log reason for not being able to write profile r=whimboo
mozprofile gives us an error and we can forward it to the user so
we know what the underlying reason is for not being able to write
the Firefox profile.
2018-09-29 15:45:30 +01:00
Andreas Tolfsen ec705f7d75 bug 1494613: geckodriver: drop try!() macro from MarionetteHandler r=whimboo
Done automatically by running MarionetteHandler through rustfmt(1).
2018-09-29 15:45:30 +01:00
Andreas Tolfsen f69c1b7a76 bug 1494613: geckodriver: remove unnecessary owned string conversion r=whimboo
PrefValue implements From<&'static str>, and this makes the calling
code slightly nicer to look at.
2018-09-29 15:45:30 +01:00
Henrik Skupin 164c4189d5 Bug 1494637 - [geckodriver] Only serialize non null arguments for Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D7210

--HG--
extra : moz-landing-system : lando
2018-09-29 15:34:38 +00:00
Gurzau Raul 00b3974ac0 Backed out 5 changesets (bug 1494613) for failing at testing/geckodriver/src/marionette.rs
Backed out changeset 09e9cefc19ca (bug 1494613)
Backed out changeset f9f4e7c55d61 (bug 1494613)
Backed out changeset 457da8a172be (bug 1494613)
Backed out changeset 8d26a58f754e (bug 1494613)
Backed out changeset 729d8f3e1341 (bug 1494613)
2018-09-27 18:49:58 +03:00
Andreas Tolfsen a64e86917a bug 1494613: geckodriver: convert logging::Level to Pref r=whimboo
The patch c1df1c2e46f6 contained a faulty rebase where the coercion
of logging::max_level() changed from the Pref type to a string.

The string representation of geckodriver::logging::Level is given
in upper-case, e.g. "INFO", and the Pref representation is given as
"Info" to be compatible with managing the log level from Log.jsm in Gecko.

This inadvertently caused
https://github.com/web-platform-tests/wpt/issues/12166 to reappear
in almost the same way: before the problem was that Marionette’s
frame script always included all log level entries.  This was fixed
with https://bugzilla.mozilla.org/show_bug.cgi?1482829, but then
https://bugzilla.mozilla.org/show_bug.cgi?id=1396821 broke it so
that log entries also from chrome space appeared.

Depends on D7077

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:35:12 +00:00
Andreas Tolfsen c3fce9b592 bug 1494613: geckodriver: log reason for not being able to write profile r=whimboo
mozprofile gives us an error and we can forward it to the user so
we know what the underlying reason is for not being able to write
the Firefox profile.

Depends on D7075

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:17:16 +00:00
Andreas Tolfsen d1886a0a8b bug 1494613: geckodriver: drop try!() macro from MarionetteHandler r=whimboo
Done automatically by running MarionetteHandler through rustfmt(1).

Depends on D7074

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:15:41 +00:00
Andreas Tolfsen 36c735b76e bug 1494613: geckodriver: remove unnecessary owned string conversion r=whimboo
PrefValue implements From<&'static str>, and this makes the calling
code slightly nicer to look at.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:14:51 +00:00
Henrik Skupin 36358b89ba Bug 1493149 - [geckodriver] "temporary" flag in AddonInstallParameters has to be optional. r=ato
With the Serde refactoring we have made this flag mandatory. This patch
reverts that change, and allows it to be skipped.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 08:37:29 +00:00
shindli a8d55dae12 Merge inbound to mozilla-central. a=merge 2018-09-27 00:52:12 +03:00
Kerem Kat 6d86e85fe6 bug 1453292: webdriver, geckodriver: remove elementTap command r=whimboo
Removes the non-standard /session/{session id}/element/{element
id}/tap endpoint command from geckodriver.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 09:49:03 +00:00
Andreas Tolfsen b23dc7de44 bug 1492649: geckodriver: avoid a couple of unneeded closures; r=whimboo 2018-09-25 16:02:03 +01:00
Andreas Tolfsen cd33da5dac bug 1492652: geckodriver: avoid cloning log level on init; r=jgraham
Instead of cloning we can dereference the logging level since it
derives the Copy trait.
2018-09-21 13:37:01 +01:00
Andreas Tolfsen 4955989efb bug 1492647: geckodriver: remove duplicate git ignore rules; r=whimboo
The rules in testing/geckodriver/.gitignore are duplicated by the
root level .gitignore rules.

DONTBUILD
2018-09-21 13:34:55 +01:00
Andreas Tolfsen cc2cc50770 bug 1496178: geckodriver: link supported platforms from README; r=me
DONTBUILD
2018-10-03 19:33:11 +01:00
Andreas Tolfsen 7bad4015c8 bug 1494227: geckodriver: fix ISSUE_TEMPLATE.md link in Bugs.md; r=me 2018-09-26 09:40:01 +01:00
Andreas Tolfsen a141897d2f bug 1491801: geckodriver: use short sha1 for git build info; r=whimboo
We use a short SHA1 for hg, and we should use the same for git.

Because git-cinnabar does not support --short, we have to truncate
the SHA ourselves.
2018-09-21 13:29:46 +01:00
Andreas Tolfsen 20af80cf4e bug 1491799: geckodriver: refactor build script; r=whimboo
Provides almost the same functionality, but without convoluted
functional style.  This will allow us to provide VCS specific
instructions in the future.
2018-09-19 20:59:37 +01:00
arthur.iakab 1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03: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
Henrik Skupin 2ea3954c34 Bug 1492047 - [geckodriver] Update issue template to request trace logs as attachment. r=whimboo a=doc
DONTBUILD

--HG--
extra : rebase_source : f29b0b1ff5a885fc8778c5d166bf8e76d15cd8b2
extra : histedit_source : 18d021bd46674ade98afd7ce7dbd1b1a316387cf
2018-09-18 08:36:48 +02:00
Andreas Tolfsen 904b5cf377 Bug 1491408 - bypass local vcs config when invoking build script. r=whimboo a=Aryx
This sets HGPLAIN and GIT_CONFIG_NOSYSTEM to bypass local user
version control system configuration when the build script is invoked.

If not set, the version control system's output could be influenced
by configuration settings.  It was for example discovered that if
you have "hg log" default to --follow, this slows down the Gecko
build significantly since it prints the node for every single commit.

According to hg(1) it is highly recommended for programs invoking
hg to set this.
2018-09-17 17:37:35 +03:00
Andreas Tolfsen 6a9f20ef8a bug 1466818: geckodriver: release version 0.22.0; r=whimboo 2018-09-16 00:12:13 +01:00
Andreas Tolfsen 0d949a552f bug 1466818: geckodriver: put compat table in docs; r=whimboo 2018-09-16 00:12:13 +01:00
Andreas Tolfsen 8286ae896c bug 1466818: geckodriver: update changelog; r=whimboo 2018-09-16 00:12:12 +01:00