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

835 Коммитов

Автор SHA1 Сообщение Дата
David Burns 4ba561d5fc Bug 1520137: Update documentation pointing to #interop instead of #ateam r=whimboo
As we move away from #ateam we need to make sure we that we point people to
the correct IRC Channel

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

--HG--
extra : moz-landing-system : lando
2019-01-15 14:14:10 +00:00
Andreas Tolfsen 884b91033d bug 1519869: geckodriver: fix documentation reference; r=me 2019-01-14 15:45:46 +00:00
Henrik Skupin 86d63a9376 Bug 1519925 - [geckodriver] Fix trace log documentation for options in Selenium Python binding. r=me
--HG--
extra : rebase_source : 94b4395dd8d0762ba9d3abcce14f5395e1e3d84c
2019-01-15 11:28:08 +01:00
reimu d8cfc514e4 Bug 1128997 - Support indefinite script timeout r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13181

--HG--
extra : moz-landing-system : lando
2019-01-06 23:04:41 +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
terrameijar 9f28cc669c Bug 1506611 - Fixed linter errors in testing/awsy and testing/geckodriver r=ahal
Before this change, testing/awsy had 94 errors and testing/geckodriver had 17. The errors have been resolved

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

--HG--
extra : moz-landing-system : lando
2018-12-18 21:31:59 +00:00
Marc Fisher 7d5611d802 bug 1483996: geckodriver: add --marionette-host flag; r=ato 2018-12-07 21:38:49 +00:00
Henrik Skupin fb49499bf5 Bug 1508726 - [geckodriver] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13515

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

--HG--
extra : moz-landing-system : lando
2018-12-05 08:12:46 +00:00
Cosmin Sabou 631d5b3bc1 Backed out 2 changesets (bug 1508726) as requested by whimboo for TestMarionette.test_application_update_disabled permafails.
Backed out changeset 5c59407599f6 (bug 1508726)
Backed out changeset 766ba8a6c875 (bug 1508726)
2018-12-05 09:49:46 +02:00
Henrik Skupin ec2e5d087c Bug 1508726 - [geckodriver] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13515

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

--HG--
extra : moz-landing-system : lando
2018-12-03 15:05:36 +00:00
Henrik Skupin e29124dec1 Bug 1508670 - [geckodriver] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13399

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:45:07 +00:00
Henrik Skupin 9a86603828 Bug 1508670 - Convert usages of try macro to ? for webdriver and geckodriver. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13395

--HG--
extra : moz-landing-system : lando
2018-11-29 20:58:36 +00:00
Henrik Skupin ab56f42848 Bug 1509256 - Fix application update preferences for backward compatibility in Marionette and geckodriver. r=ato,bytesized
Because in Marionette the application updates cannot be turned off
via the preference "app.update.disabledForTesting" (see bug 1508726),
the preference "app.update.auto" has to be used for the time being
to control that by default no updates should be downloaded and
installed.

Even "app.update.disabledForTesting" doesn't work right now,
it might be good to leave it. It would help us in the future
so that we won't have to release new Marionette client and
geckodriver releases, if it gets supported in Firefox.

Note that this band-aid fix will only work for Firefox releases
from 57 to 64. For Firefox 65 and onwards the fix on
bug 1508726 will be needed.

Depends on D13059

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

--HG--
extra : moz-landing-system : lando
2018-11-28 22:10:40 +00:00
Henrik Skupin 271aa30b73 Bug 1509256 - Clarify where to add preferences for geckodriver and Marionette. r=ato
It should be made clear that only those preferences should be added
to marionette.js which have an immediate effect. All others which
eg. require a restart, or have to be set before the application
starts the first time, must be added to the appropriate client's
profile generation code.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 20:12:04 +00:00
Robert Strong 728c807b83 Bug 1508283 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=jgraham
This adds the app.update.checkInstallTime pref with a value of false for geckodriver. The pref was added for the other tests in bug 1506917.
2018-11-19 11:30:07 -08:00
Andrea Marchesini c0950f9d8a Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
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
Andreas Tolfsen 60b3a322e3 bug 1491276: geckodriver: add communication options to docs; r=me 2018-09-14 13:00:51 +01:00
Andreas Tolfsen d918bfbf63 bug 1491273: geckodriver: move docs on reporting good bugs; r=me
This is a follow-up from
https://bugzilla.mozilla.org/show_bug.cgi?id=1488443.
2018-09-14 12:57:17 +01:00
Henrik Skupin 2ecc7fae72 Bug 905404 - [marionette] Add missing preferences from mozprofile. r=ato
--HG--
extra : rebase_source : 436cc5172b8785373ae01687140cc8f66ffa8a8c
extra : histedit_source : 1b8cc577553563223861496f8cfbc0b0c0b25e86
2018-09-05 17:16:10 +02:00
Andreas Tolfsen c25de6081e bug 1490628: geckodriver: move docs to firefox-source-docs.m.o; r=me
This moves large parts of the geckodriver README to
firefox-source-docs.m.o so that we avoid duplicating content.
This move also makes sense in the context that we will not continue
to release from GitHub for ever.
2018-09-12 14:17:06 +01:00
Andreas Tolfsen 0029ce8495 bug 1471281: geckodriver: update geckodriver build instructions; r=whimboo 2018-09-11 10:40:31 +01:00
Bastien Orivel 7ef3fa6f4a Bug 1489792 - Part 1: Update base64 to 0.9. r=ato 2018-09-11 10:18:40 +01:00
Andreas Tolfsen 910e49a6df bug 1488443: geckodriver: redirect CONTRIBUTING.md to firefox-source-docs.m.o. r=whimboo
Follow-up from code review on https://bugzilla.mozilla.org/show_bug.cgi?id=1471281.
2018-09-06 13:20:37 +01:00
Henrik Skupin 3eb9b34997 Bug 1461608 - [geckodriver] Reduce stream read timeout for Marionette handshake to 10s. r=ato
By default the stream read timeout is set to None, which means if
geckodriver successfully connects to a port, which doesn't send any
data, it waits forever.

Given that handshake data should be received immediately reduce the
read timeout on supported platforms to 10s. This would still allow
slower builds (eg. ASAN) to send the Marionette handshake.

--HG--
extra : rebase_source : be351c9d15b950c0e493e5a1809296764db75c20
2018-09-03 16:40:08 +02:00
Henrik Skupin c24e592dc9 Bug 1461608 - [geckodriver] Hardening handshake checks for Marionette connections. r=ato
If the handshake by creating a Marionette connection fails, the
browser process has to be killed.

Also geckodriver has to check for both application type,
and Marionette protocol having valid values.

--HG--
extra : rebase_source : 80fbc37e3fc13c4492dbdfe70e79084c3c54bac8
2018-09-03 09:51:42 +02:00
Henrik Skupin 0c5d77a181 Bug 1481776 - [geckodriver] Move WebDriver related code into the command module. r=ato
--HG--
extra : rebase_source : ef7a520f8d7a45e84a5309214f4e6603a22c5bfa
2018-08-24 14:23:34 +02:00
Henrik Skupin 7a91a1ff80 Bug 1486467 - [webdriver] Rename pageLoad to page_load for TimeoutsResponse. r=ato
--HG--
extra : rebase_source : 5ba52f628420b37033fb8dccdc9a2f65ad66136e
2018-08-27 16:44:06 +02:00
Bastien Orivel 963e21bf7f Bug 1484462 - Update webdriver to hyper 0.12. r=ato 2018-08-23 13:15:22 +01:00
Andreas Tolfsen a4bf4db586 Bug 1484941 - Change ErrorStatus::{ScriptTimeout,Timeout} HTTP codes from 408 to 500. r=whimboo
Whilst it is logically correct to use 408 for the
ErrorStatus::ScriptTimeout and ::Timeout errors, it
causes a collision with HTTP semantics implement in HTTP clients.
To support Keep-Alive we allow retries in HTTP clients and if a
client sees code 408 it thinks that the server has gone away and
retries the request.

This causes WebDriverCommand::ExecuteScript, ::Get, and ::Refresh
commands to be sent twice with some HTTP clients.

This is a backwards incompatible change to WebDriver in order to
not break HTTP/1.1 Keep-Alive.
2018-08-23 11:48:24 +01:00
Henrik Skupin a654712c9c Bug 1396821 - [geckodriver] Apply rustfmt other geckodriver modules. r=ato
MozReview-Commit-ID: IW15TkjVeLT

--HG--
extra : rebase_source : 0e8d053262855b3b7f897f998ef069f57f3568d2
2018-08-22 10:28:07 +02: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 1fc0887dc1 Bug 1396821 - [geckodriver] Apply rustfmt other geckodriver modules. r=ato
MozReview-Commit-ID: IW15TkjVeLT

--HG--
extra : rebase_source : 12f26d848d34f979a696191eb2fe1eeb8835019b
2018-08-20 16:36:27 +02: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
Henrik Skupin 3af25764b7 Bug 1484909 - [geckodriver] Return "invalid session id" error when there is no active session.
If a command is used before creating a new session, an
"invalid session id" error has to be returned by the
driver.

--HG--
extra : rebase_source : c45f33e9e39d876f5fd77561b57ab1fe664452d1
2018-08-21 09:08:36 +02:00
Andreas Tolfsen 719b4c5e30 Bug 1482829 - Track Marionette logger verbosity with Log#manageLevelFromPref. r=whimboo
This patch adopts Logger#managerLevelFromPref from Log.jsm to set
and keep track of the Marionette logger's verbosity.

This has the advantage that we do not have to roll separate
implementations of Log for the child- and parent processes.  It also
has the upside that the log level will be reflected when changed
at runtime through the use of an observer.
2018-08-17 12:55:33 +01:00
Andreas Tolfsen 658ee95d04 Bug 1482829 - Convert logging::Level into mozprofile::preferences::Pref. r=whimboo
In order to facilitate the use of Log.jsm's Logger#manageLevelFromPref,
geckodriver needs to ensure that the input value for the
marionette.log.level preference conforms to the variants in the
Log.Level enum.

This patch implements the Into<T> conversion from geckodriver's
logging::Level into mozprofile::preferences::Pref by way of a new
function to_gecko(), that ensures the preference value is correctly
formatted.

Logger#manageLevelFromPref expects a string value such as "Info",
which exactly matches Log.Level's own properties.  It is in other
words case sensitive, and this ensures that Marionette no longer
has to case convert the input data.
2018-08-17 12:55:31 +01:00
Andreas Tolfsen 1b22ea64c9 Bug 1483805 - Update links to tools-marionette@ archive. r=me 2018-08-16 10:48:33 +01:00
Andreas Tolfsen 59aa4235d1 Bug 1483288 - Avoid "as i64" coercion of marionette.port pref value. r=whimboo 2018-08-15 15:49:18 +01: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 015c30f932 Bug 1470659 - Add setWindowRect capability to geckodriver. r=automatedtester
It will never be possible to configure setWindowRect, and trying
to do so will cause geckodriver to return with an error.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen 9fe71ae6f7 Bug 1479774 - Drop mozreview references from geckodriver docs. r=me
DONTBUILD
2018-07-31 15:10:57 +01:00
Ted Mielczarek ce290f24b1 bug 1409276 - disable warnings-as-errors for Rust libraries/programs. r=chmanchester
When compiling C/C++ sources via Rust build scripts there's no point in
enabling warnings-as-errors as all such code is third-party code.

MozReview-Commit-ID: 5pGH6w9ZE2I

--HG--
extra : rebase_source : ad36be6aed39d55055728f85b799adf5f0cf0f4b
2018-07-16 13:52:14 -04:00
Andreas Tolfsen 69211f9f5e Bug 1477475 - Drop legacy Marionette capabilities duplication. r=whimboo
geckodriver currently writes a legacy capabilities structure to the
WebDriver:NewSession command it uses on creating a new WebDriver
session which duplicates the top-level object:

	{capabilities: {<caps>, desiredCapabilities: <caps>}}

Where caps can look something like:

	{acceptInsecureCerts: true, pageLoadStrategy: "normal", ...}

Marionette has picked up the top-level "capabilities" key for a
very long time now, and there is no longer any need to duplicate
the body.
2018-07-25 14:06:39 +01:00
Andreas Tolfsen 90420084c3 Bug 1477476 - Drop geckodriver check for malformed sessionId from Marionette. r=automatedtester
Marionette used to return a session UUID starting with "{" and
ending with "}" from the uuid-generator in Gecko.  It has not done
this for a very long time rendering this geckodriver check needless.
2018-07-24 14:08:55 +01:00
Andreas Tolfsen 565f257e32 Bug 1477474 - Return moz:geckodriverVersion on session creation. r=automatedtester
This introduces a new extension capability, moz:geckodriverVersion, that
will be returned on session creation with the geckodriver version number.
2018-07-24 14:07:48 +01:00
Andreas Tolfsen 6c5f321c8e Bug 1477474 - Stop logging geckodriver version on startup. r=automatedtester
Any info-level log entries emitted before session creation will
not be subject to the requested log level from moz:firefoxOptions.
This can confuse users, so instead of logging the geckodriver
version number on starting the program, we can return it later
during session creation as an extension capability.

Additionally this patch reduces the log level of the port geckodriver
listens to from info to debug for similar reasons.
2018-07-24 14:07:48 +01:00
Andreas Tolfsen b8e252394c Bug 1477483 - Use monospace on pageLoadStrategy default value in geckodriver README. r=me
DONTBUILD
2018-07-21 14:30:59 +01:00
Andreas Tolfsen 5833c61074 Bug 1477300 - Avoid linking to MDN from geckodriver README. r=me
DONTBUILD
2018-07-20 17:16:36 +01:00
Andreas Tolfsen dee21345de Bug 1477300 - Correct mention on Selenium version number. r=me
DONTBUILD
2018-07-20 17:16:35 +01:00
Andreas Tolfsen ca01d91580 Bug 1477300 - Fix broken links in geckodriver README. r=me
DONTBUILD
2018-07-20 17:16:35 +01:00
Kirk Steuber da107c225e Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : ba135c7d285987fd030fef4e18a5aa701a43cdba
extra : intermediate-source : e6c89a0ff0c7a7e7cd1c028e49660bab0416a531
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Andreea Pavel 1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber 35d8c30dbb Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : e38cf587711192c3020cd9ac6a39cdbd97d2600b
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Henrik Skupin 2a40175bd7 Bug 1473341 - [geckodriver] Run webdriver Rust tests on Taskcluster. r=ato
The webdriver crate which is used by geckodriver has a path
dependency set. As such it needs to be run as part of the
geckodriver tests.

MozReview-Commit-ID: AAo9oLYapWp

--HG--
extra : rebase_source : 4bc926d4ec54a836b78b39b8d46429788918e62f
2018-07-03 19:26:41 +02:00
Andreas Tolfsen 2ab7cea9a2 Bug 1473054 - Add run and testing instructions for geckodriver. r=me
MozReview-Commit-ID: 8qxqqKXCV3E
2018-07-04 14:51:46 +01:00
Andreas Tolfsen c240bf268d Bug 1473054 - Add geckodriver build instructions to firefox-source-docs.m.o. r=me
MozReview-Commit-ID: F2sQ1FR1mbM
2018-07-04 14:51:45 +01:00
Andreas Tolfsen a42f634810 Bug 1473054 - Fix column alignment in geckodriver release instructions. r=me
MozReview-Commit-ID: 1gg4Z7XZPpS
2018-07-04 14:51:44 +01:00
Andreas Tolfsen 30077d5211 Bug 1473054 - Fix links in geckodriver README. r=me
DONTBUILD

MozReview-Commit-ID: BeDccA3yzrv
2018-07-04 14:51:44 +01:00
Henrik Skupin b8c4d9ddfa Bug 1472112 - [geckodriver] Fix build job on Travis for win32 platform. r=automatedtester
Upgrading the docker image from the unsupported Ubuntu 15.10 release
to the 16.04 LTS release let us build the win32 binary successfully.

DON'T BUILD

MozReview-Commit-ID: 9Z0MPsMqyTu

--HG--
rename : testing/geckodriver/i686-trusty/Dockerfile => testing/geckodriver/i686-xenial/Dockerfile
extra : rebase_source : 5595355b978e17c201b6de5ed0acbb35ffee6344
2018-06-29 11:02:49 +02:00
Andreas Tolfsen 55d5e3a0c1 Bug 1408509 - Support web elements, frames, and windows in geckodriver. r=whimboo
This makes geckodriver support WebDriver web elements, web frames,
and web windows.

Marionette sends back JSON Objects such as

	{<element key>: <uuid>}

where the element key is one of the unique strings this patch adds
to geckodriver::marionette.

MozReview-Commit-ID: HegkGFqxkms

--HG--
extra : rebase_source : 88d51ac29b429124e2e321c0cccda949397fd307
2018-06-19 19:04:36 +01:00
Gijs Kruitbosch 006aa20e16 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9

--HG--
extra : rebase_source : b22103b5a4d43fc6da535ef00f75ed6bc80d92fb
2018-06-13 09:34:52 -07:00
Gijs Kruitbosch a4d6d71982 Bug 1470100 - use a vector instead of an array for the list of prefs, r=ato
MozReview-Commit-ID: 5JI85Rif28M

--HG--
extra : rebase_source : ce4ee702166107d85b268f78d5efaa66eaa9ab2b
2018-06-21 12:02:00 +01:00
Henrik Skupin 894f69b8b2 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : 1c6c8de55def6026da467d589ec3a8b511986125
2018-06-22 13:32:05 +02:00
Margareta Eliza Balazs 38873b16e7 Backed out changeset 52e86ed85e54 (bug 1470414) for bustage in ./config/tests/test_mozbuild_reading.py::TestMozbuildReading on a CLOSED TREE 2018-06-25 17:29:18 +03:00
Henrik Skupin df65676052 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : c39293be7a60ecc22be2f385671769f371dca06b
2018-06-22 13:32:05 +02:00
Henrik Skupin 734f172309 Bug 1467700 - Disable download of OpenH264 and Widevine plugins for Marionette and geckodriver. r=ato
MozReview-Commit-ID: BYcxxdblzcD

--HG--
extra : rebase_source : 5f9861860ee5033bfa807948591fff0bc2b16bb2
2018-06-08 12:12:46 +02:00
Jeremy Lempereur d85fda177c Bug 1406006 - Get well formatted commit hash and commit date when building geckodriver. r=ato
MozReview-Commit-ID: 7h6RuMseOYA

--HG--
extra : rebase_source : 8d1b97ef2601b0cc4917990773fde83c2758bbc1
2018-06-17 09:38:23 +02: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
Andreas Tolfsen 61e9d8225b Bug 1441204 - Prepare geckodriver changelog for 0.21.0 release. r=maja_zf
MozReview-Commit-ID: CwgB8LcgiZH

--HG--
extra : rebase_source : f6f33b98cb14b9da7715509d635c73ed19e1874e
2018-06-14 12:35:52 -07:00
Andreas Tolfsen a0bcccec70 Bug 1441204 - Use monospace for headers documenting capabilities. r=maja_zf
Purely stylistic change.

MozReview-Commit-ID: 5eEmyS0m4dy

--HG--
extra : rebase_source : b98262b79940cef257afa0715d7da01cbae012fd
2018-06-14 13:16:34 -07:00
Andreas Tolfsen 7b99746736 Bug 1441204 - Fix WebDriver capabilities table layout. r=maja_zf
The acceptInsecureCerts and pageLoadStrategy capabilities in the
WebDriver capabilities table are missing default values, which
causes the table columns to be misaligned.

MozReview-Commit-ID: 57p4YzxEmUh

--HG--
extra : rebase_source : d247f0d3596de400ff970d46434a04e3fbf2c909
2018-06-14 13:13:34 -07:00
Andreas Tolfsen 1f9dec814e Bug 1441204 - Link implementation status to bug dependency tree. r=maja_zf
The WebDriver implementation status report on MDN is out of date.

MozReview-Commit-ID: BWGvi86fvsO

--HG--
extra : rebase_source : f11dae28fb2aea0abfd49b7f521f58aa50cb059e
2018-06-14 13:11:46 -07:00
Andreas Tolfsen 3a235981b8 Bug 1441204 - Correct minimum required Selenium version. r=maja_zf
Bug 1452024 bumped the minimum required Selenium version to 3.11,
but did apparently not update the README.

MozReview-Commit-ID: Gsn6Kjg8EOr

--HG--
extra : rebase_source : e2415af109e1362ddecfd71ddfecacb7306ce8ba
2018-06-14 13:08:09 -07:00
Andreas Tolfsen 53d50e1b88 Bug 1441204 - Revert removal of extensions.showMismatchUI pref. r=maja_zf
Bug 1433574 removed the extensions.showMismatchUI preference from
geckodriver and the Python client.  Because these tools are used
out-of-tree against all release channels of Firefox, the preference
cannot be removed before Firefox 61 becomes the minimum supported
version.

MozReview-Commit-ID: 2iD4PffP5Yx

--HG--
extra : rebase_source : e3eb9bd431901042183792495193911269e36736
2018-06-14 12:01:15 -07:00
Henrik Skupin b49b5af33b Bug 1466658 - [geckodriver] Overhaul of user preferences in prefs.rs. r=ato
Lots of preferences aren't used anymore, or are safe to set at
startup in marionette.js. This also makes them specific to a
version of Firefox, and prevents us from keeping fallback
preferences around in geckodriver.

This patch bumps the recommended version of Firefox to 57.

MozReview-Commit-ID: Iic6iWFP3Nx

--HG--
extra : rebase_source : 0700aa502f53178f759ded232fe4a1452b07e1ee
2018-06-05 11:37:27 +02:00
Andreas Tolfsen 6b240809b3 Bug 1465072 - Force IPv4 for marionette::get_free_port(). r=whimboo
As part of bug 1462040, geckodriver was made to use the IPv4 stack
when connecting to Marionette in Firefox.  However, the helper
function for finding an atomic free port still uses localhost,
which on some systems may prefer the IPv6 stack.

To ensure that the free port is found on the correct IP stack, this
patch changes marionette::get_free_port() to use the DEFAULT_HOST
constant that is already used for establishing the connection.

MozReview-Commit-ID: HeEyvwYfHh2

--HG--
extra : rebase_source : 21c69a9499ce569ac4221d1cd2affd2b43092b1d
2018-05-29 14:53:51 +01:00
Henrik Skupin 892b245929 Bug 1461463 - [geckodriver] Remove extra colon from invalid "WebDriver::Forward" command. r=ato
Bug 1452024 caused a regression in geckodriver which accidentally
added an extra colon to the "WebDriver:Forward" command.

This breaks Marionette because it is not a known command.

MozReview-Commit-ID: JKDVj9YWoZC

--HG--
extra : rebase_source : eed2789deaee49be1c248979cf40028868efc0df
2018-05-17 09:52:12 +02:00
Henrik Skupin 22f07a432f Bug 1464196 - [geckodriver] Add missing import of tempfile to CrashReports.md. r=whimboo
MozReview-Commit-ID: EEjXhTpqeys

--HG--
extra : rebase_source : 9e4e124506afe91f5a0b39206ad6aa9476a14f63
2018-05-24 21:33:15 +02: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
Henrik Skupin f3371a0852 Bug 1462040 - Force geckodriver to always use IPv4 to connect to Marionette. r=jgraham
Marionette uses nsIServerSocket which only allows to create a IPv4
listener. On systems where IPv6 has precedence geckodriver will
automatically use the IPv6 address for `localhost` and will fail
to connect to Marionette. As such we should force geckodriver to
connect to "127.0.0.1".

MozReview-Commit-ID: Dg1n6yYIi2N

--HG--
extra : rebase_source : ed3419a80dbd3101f5d2ee9a469e3e56b189f881
2018-05-16 21:12:21 +02:00
Henrik Skupin 8e0993677f Bug 1461270 - [geckdriver] Log Marionette host and port. r=ato
geckodriver should log to which host and port it is trying
to create a connection with Marionette.

MozReview-Commit-ID: DxWSsDDMKCL

--HG--
extra : rebase_source : df870bf956d93aae8d95f70c88c184adc90bf2bf
2018-05-14 10:45:54 +02:00
Andreas Tolfsen 0ba63ee173 Bug 1461101 - Remove unused .hgignore file. r=whimboo
Mercurial, unlike git, does not pick up .hgignore files in subdirectories.
This file has never been used.

MozReview-Commit-ID: 6HdQJREJkgC

--HG--
extra : rebase_source : 9f69c19aa68b34e32efee6a400653210afe32018
2018-05-12 14:06:45 +01:00
Henrik Skupin b7df70f0b6 Bug 1460307 - [geckodriver] Add documentation for crash report submission. r=whimboo a=doc
DONTBUILD

MozReview-Commit-ID: KRNGBPrXZKy

--HG--
extra : rebase_source : efccc5b691a92aaba0fea1eb191f1b8a77747281
2018-05-11 22:41:30 +02:00
Henrik Skupin 24fdd798d6 Bug 1453307 - Remove geckodriver::marionette trace logging. r=ato
This patch removes the extra trace log entries from geckodriver
which weren't useful for debugging in the past.

MozReview-Commit-ID: FE94y8eVqpk

--HG--
extra : rebase_source : e7d5b31a120d268af848e7f173ee0ea5a672f4b9
2018-05-09 10:21:36 +02:00
Xidorn Quan 1c8dc43017 Bug 1457524 part 1 - Use a list for rust tests. r=froydnj
MozReview-Commit-ID: 6A0hHClXDUE

--HG--
extra : rebase_source : 827bb569642aa2ad834b94f08af3f60b68552de4
2018-05-02 11:51:25 +10:00
Andreas Tolfsen 53d1d59075 Bug 1458742 - Correct marionette.log.level docs for case insensitivity. r=maja_zf
The marionette.log.level value is case insensitive and this commit
points that out in the documentation associated with the preference.

MozReview-Commit-ID: KZGFE9feFRl

--HG--
extra : rebase_source : 26dad92ff74f8752785061a59df891668c9a0310
2018-05-02 17:18:51 -07:00
Andreea Pavel a608b0b7f9 Backed out changeset cf1022433399 (bug 1433574) Linux build bustages on a CLOSED TREE 2018-04-24 04:35:07 +03:00
Andrew Swan a359959d1e Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : a95e8b61647d7fb91a3d5b455ba55a056fe0c2bc
2018-04-23 14:59:11 -07:00
Henrik Skupin e19b43f4d3 Bug 1452024 - [geckodriver] Update changelog for command prefix changes. r=ato
MozReview-Commit-ID: 4k4ah8nlOr8

--HG--
extra : rebase_source : af0146f469da5463dcef1a14b5927c3345f01867
2018-04-11 16:43:19 +02:00
Henrik Skupin 2fb36c4294 Bug 1452024 - [geckodriver] Update vendor specific commands to use custom prefixes. r=ato
Commands which are not defined by the WebDriver spec have to
use the "Marionette" prefix. Exceptions are only allowed for
chrome specific commands which share the same request URL with
the content one.

MozReview-Commit-ID: L47inQ3e8it

--HG--
extra : rebase_source : cc7e03bc01376cc08f6545405a9a54da2a8e77da
2018-04-11 13:47:21 +02:00
Henrik Skupin c58fe6110a Bug 1452024 - [geckodriver] Update WebDriver specific commands to use the "WebDriver" prefix. r=ato
MozReview-Commit-ID: BOWEkktQKY2

--HG--
extra : rebase_source : f27ea83036da0d59c9588db8df261277989d7e7e
2018-04-11 13:33:12 +02:00
Henrik Skupin 121c3cc0ac Bug 1452024 - [geckodriver] Sort webdriver command list. r=ato
MozReview-Commit-ID: 4WV19OWAm7B

--HG--
extra : rebase_source : caa1e1c07f158af01d6412e59e788be890fe85a3
2018-04-11 12:15:26 +02:00
Andreas Tolfsen 95b2b21737 Bug 1451916 - Have geckodriver recognise chrome elements. r=whimboo
Before we can deploy bug 1400233 which removes the JSON Object field
"ELEMENT" from Marionette, we need to make geckodriver recognise
"chromeelement-9fc5-4b51-a3c8-01716eedeb04".

Technically a chrome element is not a web element, but geckodriver
treats it as such.  This is in line with previous behaviour but should at
some point be changed when WebDriver supports these types of extensions.

This patch does not drop support for the legacy web element identifier
(ELEMENT) since it would entail dropping support for Firefox 55
and later.  The new element identifiers were introduced in Firefox 58.

MozReview-Commit-ID: GiBHcOcvGbh

--HG--
extra : rebase_source : aa459613024e46c88fe3754e96bbfe9cc78ddc19
2018-04-06 14:41:00 +01:00
Andreas Tolfsen 033e6ef7ee Bug 1451838 - Fix double-mention of exit status. r=whimboo
The Display trait implementation for ExitStatus returns "exit code:
0", leading to a convoluted sentence such as "Browser process
stopped with exit status exit code: 0".

MozReview-Commit-ID: 2D1JsFIhF7d

--HG--
extra : rebase_source : 044d1961485073a11aefc978eff3e382c59db4cc
2018-04-06 15:28:08 +01: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 2654f95424 Bug 1449877 - Update geckodriver changelog for 0.20.1. r=whimboo
MozReview-Commit-ID: DF36cXETqy6

--HG--
extra : rebase_source : c81ed29e49804ab43638320ace7ea118743cba8a
2018-04-03 11:19:34 +01:00
Andreas Tolfsen 73c11c00a8 Bug 1448900 - Avoid killing exited process. r=jgraham,whimboo
std::process::Child::kill() will return Err if the process has
already exited.  The assumption in bug 1443853 was that calling
::kill() would consistently return the std::process::ExitStatus
was the process already dead.

This patches the regression from bug 1443853 by employing
Child::try_wait() in a loop.  When the process gives some exit status,
this is return directly without relying on Child::kill() as before.

If the process has not exited and the timeout has elapsed, we kill
the process and return its return value.  If the process has not
exited but the timeout duration has not elapsed, we wait 100 ms as before.

MozReview-Commit-ID: 4VENbrKtcEh

--HG--
extra : rebase_source : 7f27ed057da740306367ef2b6a87f8ac6a242541
2018-03-28 17:17:29 +01:00
Greg Fraley c43aacdec0 Bug 1444068 - Switch to using rust time for Marionette connection polling r=ato
MozReview-Commit-ID: LMtDDeRSzcQ

--HG--
extra : rebase_source : 77a80f4e2a95bf65e8c4e08ba064bf7e35517bf9
2018-03-19 06:41:42 -04:00
Andreas Tolfsen b824579296 Bug 1445244 - Include hidden files when copying source to GitHub. r=me
The * glob does not include hidden files, which means we miss copying
the .travis.yml file.

MozReview-Commit-ID: HfvZW7Ce4df
2018-03-13 14:18:40 +00:00
Andreas Tolfsen 14fb0905da Bug 1445244 - Highlight that release must be made from bump commit. r=me
MozReview-Commit-ID: DNM2lEn1Wvo
2018-03-13 14:18:39 +00:00
Andreas Tolfsen af806c4bab Bug 1444431 - Filter logs from familiar logging targets. r=jgraham
geckodriver uses log 0.4, but it depends on a version of hyper that
uses log 0.3.

Previously this meant that geckodriver's logger could only see
messages from crates using log 0.4, and had no access to messages
from hyper or other crates using log 0.3.  However, log 0.3.9 added
interoperability so that programs built with a mix of log 0.3 and
log 0.4 can again display messages from all crates.

This patches geckodriver::logging to contain a whitelist of logged
targets we care about.  Currently this list includes geckodriver,
mozprofile, mozrunner, mozversion, and webdriver.  This will revert
us to the behaviour prior to upgrading hyper to use log 0.3.9,
and would be similar to the old implementation we had for filtering
logs we had when geckodriver used slog.

Thanks-to: Matt Brubeck <mbrubeck@mozilla.com>
MozReview-Commit-ID: 6Xj0k6VD1dQ

--HG--
extra : rebase_source : 7a5aee1642b94516eedc1ca25b722e2868d0983b
2018-03-11 15:51:00 +00: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 2dad6ae4c6 Bug 1401129 - Note changes for geckodriver 0.20.0 release. r=whimboo
MozReview-Commit-ID: 1vb4nzpUlYD

--HG--
extra : rebase_source : df910b9829a9a4cc1d8c5de5196b2c93fad61581
2018-03-08 16:05:35 +00:00
Andreas Tolfsen 33d987d48a Bug 1401129 - Add peer review note to automation files. r=whimboo
MozReview-Commit-ID: 47708JTKoro

--HG--
extra : rebase_source : 234d2b84008937a6df8a36dcf05d341a0c4ae387
2018-03-12 11:47:28 +00:00
Andreas Tolfsen 77efd9020a Bug 1401129 - Restore extensions.shield-recipe-client.api_url in automation tools. r=whimboo
The extensions.shield-recipe-client.api_url preference was
replaced with app.normandy.api_url in bug 1436113.  There are
multiple automation tools in the tree that target out-of-tree
release channels and removing the old preference would break these.

This patch re-adds the old preference with a note of when it was removed.

MozReview-Commit-ID: HhTfRFkRQTC

--HG--
extra : rebase_source : ec726c528b57e197a34e3e094c1c4bfe5d23da55
2018-03-08 15:47:09 +00:00
Andreas Tolfsen 3ca71a66e9 Bug 1401129 - Restore datareporting.healthreport.about.reportUrl in automation tools. r=whimboo
The datareporting.healthreport.about.reportUrl preference was removed
in bug 1352497, but there are multiple automation tools in the tree
that target out-of-tree release channels.

This patch restores the preference with a note that it was removed
in Firefox 59.

MozReview-Commit-ID: Lg8bxoiIfxn

--HG--
extra : rebase_source : ce3744baf37b30210239a5b840ee9fb1f7dc38f4
2018-03-08 15:32:06 +00:00
Andreas Tolfsen 98cdaaee72 Bug 1443853 - Move browser process shutdown monitor to mozrunner. r=jgraham
This moves the shutdown monitor for the Firefox process from
geckodriver to mozrunner, which is a more suitable home for it.
We will likely need specialised versions of this in the future with
products such as GeckoView and Fennec.

In addition to the move it also cleans up the polling loop by
employing std::time::SystemTime which lets us match on the elapsed
time since its construction.  This seems nicer than having to perform
division operations on integers, which in Rust are inherently unsafe
(there is no guard against SIGFPE).

This change should be functionally equivalent to the existing code.

MozReview-Commit-ID: 1asnFbixhcY

--HG--
extra : rebase_source : f21f734862bfbbc1ed665dc9c9f611c5968d662f
2018-03-07 21:57:53 +00:00
Andreas Tolfsen 1509c2ba22 Bug 1443853 - Rename RunnerProcess::status() to ::try_wait(). r=jgraham
This renames RunnerProcess::status() to ::try_wait() for symmetry
with std::process::Child::try_wait() in the standard library.

The patch also makes an attempt at cleaning up its usage in geckodriver,
however this can be further improved.

MozReview-Commit-ID: 14ihT7MpM7l

--HG--
extra : rebase_source : 4e96c79c6ebbb256c4a08cb4dd86c99aacaa13ac
2018-03-07 21:43:49 +00:00
Andreas Tolfsen a1615d76ac Bug 1443853 - Rename RunnerProcess::stop() to ::kill(). r=jgraham
This renames RunnerProcess::stop() to ::kill() for symmetry with
the standard library's std::process::Child.

MozReview-Commit-ID: 20vSni9bA0X

--HG--
extra : rebase_source : 112b29249563154b50d9a72c141034e5cdf7f19b
2018-03-07 21:29:23 +00:00
Andreas Tolfsen ecbbc100b2 Bug 1443853 - Rename RunnerProcess::is_running() to ::running(). r=jgraham
The ideom for getters in Rust is to not prefix them with "is_".
Setters should, however, have the "set_" prefix.

MozReview-Commit-ID: 9kXHBYGK7aL

--HG--
extra : rebase_source : 6c2591771646c8b7c5b0e6b1af5427455938b4cf
2018-03-07 21:23:57 +00:00
Andreas Tolfsen bf3fd4b45f Bug 1443853 - Remove unnecessary paranthesis around function argument. r=jgraham
Silences one compiler warning.

MozReview-Commit-ID: FSKV9Ia2iXt

--HG--
extra : rebase_source : 04c247b5e0f763a971b0e8886bb82d6b6942af59
2018-03-07 21:26:27 +00:00
Noemi Erli 8dfb05971f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-10 12:15:32 +02:00
Andreas Tolfsen 73e39da3b4 Bug 1444593: Make links in CONTRIBUTING.md safe for export. r=me
testing/geckodriver/CONTRIBUTING.md is exported to GitHub which
means it cannot use relative links to files that live in-tree.

MozReview-Commit-ID: 2YPaAowgE7
2018-03-10 10:00:58 +00:00
Ed Lee 2522cd1b36 Bug 1444404 - Use default (true) value for browser.newtabpage.enabled for testing. r=jmaher
Before bug 1383599, the pref had effectively been always true as about:newtab always just loaded activity stream. Switching the test pref to be true matches the old behavior to fix the AWSY regression to later decide what this pref should be for testing in bug 1444498.

MozReview-Commit-ID: Af9v2rgUZdl

--HG--
extra : rebase_source : 39c81b51f6809dc7d7c8454554f2a84b724b398c
2018-03-09 10:47:10 -08:00
Gijs Kruitbosch 0b74070674 Bug 1433133 - remove unused prefs and exported bits from NewTabUtils.jsm, r=dao
MozReview-Commit-ID: 75xPd5hKexV

--HG--
extra : rebase_source : 31fed5ea4584098112aa00f4d6189f9605a6520a
2018-03-06 22:56:07 +00:00
Andreas Tolfsen 4534dde032 Bug 1443466 - Reference --marionette-port in --connect-existing docs. r=me
MozReview-Commit-ID: 16ZCieH8Pm4
2018-03-06 13:08:17 +00:00
Andreas Tolfsen 6abe1c6703 Bug 1443466 - Link to firefox-source-docs.m.o in geckodriver README. r=me
MozReview-Commit-ID: CONSsWFMQiI
2018-03-06 13:08:16 +00:00
Andreas Tolfsen b7fda6e441 Bug 1443466 - Improve --marionette-port documentation. r=me
Explains how --marionette-port interacts with --connect-existing.

MozReview-Commit-ID: 8WwM7wHXfcn
2018-03-06 13:08:16 +00:00
Mike Cooper 466bc9466e Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
MozReview-Commit-ID: 8i9Jrq8rj3W

--HG--
extra : rebase_source : 9fb6772a231d214659d024348a52997c74dd5523
extra : amend_source : 312164e67feb3ac43b6b760cad73a2ff6e1f601a
extra : source : 8ccf1c3f156f19293c8a692585a663c5f685d195
2018-03-02 11:18:59 -08:00
Matt Brubeck be08cdcdc1 Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : source : bbae7807c164273f6bb123d680a4fc31202d7a61
extra : amend_source : 53505e25f63a8eb228e62a0a9f3bd3ed98950296
extra : histedit_source : 597464181d4b79f5ac1a511d23e2a05aefb266da%2C63b89f3699e0e9598c8355e7293f10795acc80e7
2018-03-01 14:33:35 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck c94fb26dea Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : rebase_source : 75fae593e8765ec5b1e616d10eda0bc52f1f7194
extra : histedit_source : 21b38586bcc4576fce5eadff9a3c77ccf5e21341
2018-03-01 14:33:35 -08:00
Narcis Beleuzu d970361c95 Backed out 2 changesets (bug 1436113) for bc failures on browser_about_studies.js
Backed out changeset 8ccf1c3f156f (bug 1436113)
Backed out changeset 18a7f08a6cdc (bug 1436113)

--HG--
rename : toolkit/components/normandy/content/AboutPages.jsm => browser/extensions/shield-recipe-client/content/AboutPages.jsm
rename : toolkit/components/normandy/content/about-studies/about-studies.css => browser/extensions/shield-recipe-client/content/about-studies/about-studies.css
rename : toolkit/components/normandy/content/about-studies/about-studies.html => browser/extensions/shield-recipe-client/content/about-studies/about-studies.html
rename : toolkit/components/normandy/content/about-studies/about-studies.js => browser/extensions/shield-recipe-client/content/about-studies/about-studies.js
rename : toolkit/components/normandy/content/about-studies/common.js => browser/extensions/shield-recipe-client/content/about-studies/common.js
rename : toolkit/components/normandy/content/about-studies/img/shield-logo.png => browser/extensions/shield-recipe-client/content/about-studies/img/shield-logo.png
rename : toolkit/components/normandy/content/about-studies/shield-studies.js => browser/extensions/shield-recipe-client/content/about-studies/shield-studies.js
rename : toolkit/components/normandy/content/shield-content-frame.js => browser/extensions/shield-recipe-client/content/shield-content-frame.js
rename : toolkit/components/normandy/content/shield-content-process.js => browser/extensions/shield-recipe-client/content/shield-content-process.js
rename : toolkit/components/normandy/docs/data-collection.rst => browser/extensions/shield-recipe-client/docs/data-collection.rst
rename : toolkit/components/normandy/docs/index.rst => browser/extensions/shield-recipe-client/docs/index.rst
rename : toolkit/components/normandy/jar.mn => browser/extensions/shield-recipe-client/jar.mn
rename : toolkit/components/normandy/lib/ActionSandboxManager.jsm => browser/extensions/shield-recipe-client/lib/ActionSandboxManager.jsm
rename : toolkit/components/normandy/lib/AddonStudies.jsm => browser/extensions/shield-recipe-client/lib/AddonStudies.jsm
rename : toolkit/components/normandy/lib/Addons.jsm => browser/extensions/shield-recipe-client/lib/Addons.jsm
rename : toolkit/components/normandy/lib/CleanupManager.jsm => browser/extensions/shield-recipe-client/lib/CleanupManager.jsm
rename : toolkit/components/normandy/lib/ClientEnvironment.jsm => browser/extensions/shield-recipe-client/lib/ClientEnvironment.jsm
rename : toolkit/components/normandy/lib/EventEmitter.jsm => browser/extensions/shield-recipe-client/lib/EventEmitter.jsm
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => browser/extensions/shield-recipe-client/lib/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/Heartbeat.jsm => browser/extensions/shield-recipe-client/lib/Heartbeat.jsm
rename : toolkit/components/normandy/lib/LogManager.jsm => browser/extensions/shield-recipe-client/lib/LogManager.jsm
rename : toolkit/components/normandy/lib/NormandyApi.jsm => browser/extensions/shield-recipe-client/lib/NormandyApi.jsm
rename : toolkit/components/normandy/lib/NormandyDriver.jsm => browser/extensions/shield-recipe-client/lib/NormandyDriver.jsm
rename : toolkit/components/normandy/lib/PreferenceExperiments.jsm => browser/extensions/shield-recipe-client/lib/PreferenceExperiments.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => browser/extensions/shield-recipe-client/lib/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/RecipeRunner.jsm => browser/extensions/shield-recipe-client/lib/RecipeRunner.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => browser/extensions/shield-recipe-client/lib/Sampling.jsm
rename : toolkit/components/normandy/lib/SandboxManager.jsm => browser/extensions/shield-recipe-client/lib/SandboxManager.jsm
rename : toolkit/components/normandy/lib/ShieldPreferences.jsm => browser/extensions/shield-recipe-client/lib/ShieldPreferences.jsm
rename : toolkit/components/normandy/lib/Storage.jsm => browser/extensions/shield-recipe-client/lib/Storage.jsm
rename : toolkit/components/normandy/lib/TelemetryEvents.jsm => browser/extensions/shield-recipe-client/lib/TelemetryEvents.jsm
rename : toolkit/components/normandy/lib/Uptake.jsm => browser/extensions/shield-recipe-client/lib/Uptake.jsm
rename : toolkit/components/normandy/lib/Utils.jsm => browser/extensions/shield-recipe-client/lib/Utils.jsm
rename : toolkit/components/normandy/moz.build => browser/extensions/shield-recipe-client/moz.build
rename : toolkit/components/normandy/skin/osx/Heartbeat.css => browser/extensions/shield-recipe-client/skin/osx/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/Heartbeat.css => browser/extensions/shield-recipe-client/skin/shared/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/heartbeat-icon.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-icon.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-lit.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-lit.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-off.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-off.svg
rename : toolkit/components/normandy/test/.eslintrc.js => browser/extensions/shield-recipe-client/test/.eslintrc.js
rename : toolkit/components/normandy/test/browser/.eslintrc.js => browser/extensions/shield-recipe-client/test/browser/.eslintrc.js
rename : toolkit/components/normandy/test/browser/action_server.sjs => browser/extensions/shield-recipe-client/test/browser/action_server.sjs
rename : toolkit/components/normandy/test/browser/browser.ini => browser/extensions/shield-recipe-client/test/browser/browser.ini
rename : toolkit/components/normandy/test/browser/browser_ActionSandboxManager.js => browser/extensions/shield-recipe-client/test/browser/browser_ActionSandboxManager.js
rename : toolkit/components/normandy/test/browser/browser_AddonStudies.js => browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js
rename : toolkit/components/normandy/test/browser/browser_Addons.js => browser/extensions/shield-recipe-client/test/browser/browser_Addons.js
rename : toolkit/components/normandy/test/browser/browser_CleanupManager.js => browser/extensions/shield-recipe-client/test/browser/browser_CleanupManager.js
rename : toolkit/components/normandy/test/browser/browser_ClientEnvironment.js => browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
rename : toolkit/components/normandy/test/browser/browser_EventEmitter.js => browser/extensions/shield-recipe-client/test/browser/browser_EventEmitter.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => browser/extensions/shield-recipe-client/test/browser/browser_FilterExpressions.js
rename : toolkit/components/normandy/test/browser/browser_Heartbeat.js => browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js
rename : toolkit/components/normandy/test/browser/browser_LogManager.js => browser/extensions/shield-recipe-client/test/browser/browser_LogManager.js
rename : toolkit/components/normandy/test/browser/browser_NormandyDriver.js => browser/extensions/shield-recipe-client/test/browser/browser_NormandyDriver.js
rename : toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js => browser/extensions/shield-recipe-client/test/browser/browser_PreferenceExperiments.js
rename : toolkit/components/normandy/test/browser/browser_RecipeRunner.js => browser/extensions/shield-recipe-client/test/browser/browser_RecipeRunner.js
rename : toolkit/components/normandy/test/browser/browser_ShieldPreferences.js => browser/extensions/shield-recipe-client/test/browser/browser_ShieldPreferences.js
rename : toolkit/components/normandy/test/browser/browser_Storage.js => browser/extensions/shield-recipe-client/test/browser/browser_Storage.js
rename : toolkit/components/normandy/test/browser/browser_about_preferences.js => browser/extensions/shield-recipe-client/test/browser/browser_about_preferences.js
rename : toolkit/components/normandy/test/browser/browser_about_studies.js => browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js
rename : toolkit/components/normandy/test/browser/browser_Normandy.js => browser/extensions/shield-recipe-client/test/browser/browser_bootstrap.js
rename : toolkit/components/normandy/test/browser/fixtures/addon-fixture/manifest.json => browser/extensions/shield-recipe-client/test/browser/fixtures/addon-fixture/manifest.json
rename : toolkit/components/normandy/test/browser/fixtures/normandy.xpi => browser/extensions/shield-recipe-client/test/browser/fixtures/normandy.xpi
rename : toolkit/components/normandy/test/browser/head.js => browser/extensions/shield-recipe-client/test/browser/head.js
rename : toolkit/components/normandy/test/unit/.eslintrc.js => browser/extensions/shield-recipe-client/test/unit/.eslintrc.js
rename : toolkit/components/normandy/test/unit/echo_server.sjs => browser/extensions/shield-recipe-client/test/unit/echo_server.sjs
rename : toolkit/components/normandy/test/unit/head_xpc.js => browser/extensions/shield-recipe-client/test/unit/head_xpc.js
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4 => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/classify_client/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/classify_client/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/query_server.sjs
rename : toolkit/components/normandy/test/unit/test_NormandyApi.js => browser/extensions/shield-recipe-client/test/unit/test_NormandyApi.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => browser/extensions/shield-recipe-client/test/unit/test_Sampling.js
rename : toolkit/components/normandy/test/unit/test_SandboxManager.js => browser/extensions/shield-recipe-client/test/unit/test_SandboxManager.js
rename : toolkit/components/normandy/test/unit/test_Utils.js => browser/extensions/shield-recipe-client/test/unit/test_Utils.js
rename : toolkit/components/normandy/test/unit/utils.js => browser/extensions/shield-recipe-client/test/unit/utils.js
rename : toolkit/components/normandy/test/unit/xpcshell.ini => browser/extensions/shield-recipe-client/test/unit/xpcshell.ini
rename : toolkit/components/normandy/vendor/LICENSE_THIRDPARTY => browser/extensions/shield-recipe-client/vendor/LICENSE_THIRDPARTY
rename : toolkit/components/normandy/vendor/PropTypes.js => browser/extensions/shield-recipe-client/vendor/PropTypes.js
rename : toolkit/components/normandy/vendor/React.js => browser/extensions/shield-recipe-client/vendor/React.js
rename : toolkit/components/normandy/vendor/ReactDOM.js => browser/extensions/shield-recipe-client/vendor/ReactDOM.js
rename : toolkit/components/normandy/vendor/classnames.js => browser/extensions/shield-recipe-client/vendor/classnames.js
rename : toolkit/components/normandy/vendor/mozjexl.js => browser/extensions/shield-recipe-client/vendor/mozjexl.js
2018-03-01 06:44:44 +02:00
Mike Cooper 44cb9587b4 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE

--HG--
extra : rebase_source : a47e156160e2e0f85f0000703f2da24e781c727d
2018-02-21 15:02:04 -08:00
Narcis Beleuzu afbe720872 Backed out 2 changesets (bug 1436113) for ESlint failure on Normandy.jsm. CLOSED TREE
Backed out changeset 0a2b1c60cec5 (bug 1436113)
Backed out changeset 88dd78f248e2 (bug 1436113)

--HG--
rename : toolkit/components/normandy/content/AboutPages.jsm => browser/extensions/shield-recipe-client/content/AboutPages.jsm
rename : toolkit/components/normandy/content/about-studies/about-studies.css => browser/extensions/shield-recipe-client/content/about-studies/about-studies.css
rename : toolkit/components/normandy/content/about-studies/about-studies.html => browser/extensions/shield-recipe-client/content/about-studies/about-studies.html
rename : toolkit/components/normandy/content/about-studies/about-studies.js => browser/extensions/shield-recipe-client/content/about-studies/about-studies.js
rename : toolkit/components/normandy/content/about-studies/common.js => browser/extensions/shield-recipe-client/content/about-studies/common.js
rename : toolkit/components/normandy/content/about-studies/img/shield-logo.png => browser/extensions/shield-recipe-client/content/about-studies/img/shield-logo.png
rename : toolkit/components/normandy/content/about-studies/shield-studies.js => browser/extensions/shield-recipe-client/content/about-studies/shield-studies.js
rename : toolkit/components/normandy/content/shield-content-frame.js => browser/extensions/shield-recipe-client/content/shield-content-frame.js
rename : toolkit/components/normandy/content/shield-content-process.js => browser/extensions/shield-recipe-client/content/shield-content-process.js
rename : toolkit/components/normandy/docs/data-collection.rst => browser/extensions/shield-recipe-client/docs/data-collection.rst
rename : toolkit/components/normandy/docs/index.rst => browser/extensions/shield-recipe-client/docs/index.rst
rename : toolkit/components/normandy/jar.mn => browser/extensions/shield-recipe-client/jar.mn
rename : toolkit/components/normandy/lib/ActionSandboxManager.jsm => browser/extensions/shield-recipe-client/lib/ActionSandboxManager.jsm
rename : toolkit/components/normandy/lib/AddonStudies.jsm => browser/extensions/shield-recipe-client/lib/AddonStudies.jsm
rename : toolkit/components/normandy/lib/Addons.jsm => browser/extensions/shield-recipe-client/lib/Addons.jsm
rename : toolkit/components/normandy/lib/CleanupManager.jsm => browser/extensions/shield-recipe-client/lib/CleanupManager.jsm
rename : toolkit/components/normandy/lib/ClientEnvironment.jsm => browser/extensions/shield-recipe-client/lib/ClientEnvironment.jsm
rename : toolkit/components/normandy/lib/EventEmitter.jsm => browser/extensions/shield-recipe-client/lib/EventEmitter.jsm
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => browser/extensions/shield-recipe-client/lib/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/Heartbeat.jsm => browser/extensions/shield-recipe-client/lib/Heartbeat.jsm
rename : toolkit/components/normandy/lib/LogManager.jsm => browser/extensions/shield-recipe-client/lib/LogManager.jsm
rename : toolkit/components/normandy/lib/NormandyApi.jsm => browser/extensions/shield-recipe-client/lib/NormandyApi.jsm
rename : toolkit/components/normandy/lib/NormandyDriver.jsm => browser/extensions/shield-recipe-client/lib/NormandyDriver.jsm
rename : toolkit/components/normandy/lib/PreferenceExperiments.jsm => browser/extensions/shield-recipe-client/lib/PreferenceExperiments.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => browser/extensions/shield-recipe-client/lib/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/RecipeRunner.jsm => browser/extensions/shield-recipe-client/lib/RecipeRunner.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => browser/extensions/shield-recipe-client/lib/Sampling.jsm
rename : toolkit/components/normandy/lib/SandboxManager.jsm => browser/extensions/shield-recipe-client/lib/SandboxManager.jsm
rename : toolkit/components/normandy/lib/ShieldPreferences.jsm => browser/extensions/shield-recipe-client/lib/ShieldPreferences.jsm
rename : toolkit/components/normandy/lib/Storage.jsm => browser/extensions/shield-recipe-client/lib/Storage.jsm
rename : toolkit/components/normandy/lib/TelemetryEvents.jsm => browser/extensions/shield-recipe-client/lib/TelemetryEvents.jsm
rename : toolkit/components/normandy/lib/Uptake.jsm => browser/extensions/shield-recipe-client/lib/Uptake.jsm
rename : toolkit/components/normandy/lib/Utils.jsm => browser/extensions/shield-recipe-client/lib/Utils.jsm
rename : toolkit/components/normandy/moz.build => browser/extensions/shield-recipe-client/moz.build
rename : toolkit/components/normandy/skin/osx/Heartbeat.css => browser/extensions/shield-recipe-client/skin/osx/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/Heartbeat.css => browser/extensions/shield-recipe-client/skin/shared/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/heartbeat-icon.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-icon.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-lit.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-lit.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-off.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-off.svg
rename : toolkit/components/normandy/test/.eslintrc.js => browser/extensions/shield-recipe-client/test/.eslintrc.js
rename : toolkit/components/normandy/test/browser/.eslintrc.js => browser/extensions/shield-recipe-client/test/browser/.eslintrc.js
rename : toolkit/components/normandy/test/browser/action_server.sjs => browser/extensions/shield-recipe-client/test/browser/action_server.sjs
rename : toolkit/components/normandy/test/browser/browser.ini => browser/extensions/shield-recipe-client/test/browser/browser.ini
rename : toolkit/components/normandy/test/browser/browser_ActionSandboxManager.js => browser/extensions/shield-recipe-client/test/browser/browser_ActionSandboxManager.js
rename : toolkit/components/normandy/test/browser/browser_AddonStudies.js => browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js
rename : toolkit/components/normandy/test/browser/browser_Addons.js => browser/extensions/shield-recipe-client/test/browser/browser_Addons.js
rename : toolkit/components/normandy/test/browser/browser_CleanupManager.js => browser/extensions/shield-recipe-client/test/browser/browser_CleanupManager.js
rename : toolkit/components/normandy/test/browser/browser_ClientEnvironment.js => browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
rename : toolkit/components/normandy/test/browser/browser_EventEmitter.js => browser/extensions/shield-recipe-client/test/browser/browser_EventEmitter.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => browser/extensions/shield-recipe-client/test/browser/browser_FilterExpressions.js
rename : toolkit/components/normandy/test/browser/browser_Heartbeat.js => browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js
rename : toolkit/components/normandy/test/browser/browser_LogManager.js => browser/extensions/shield-recipe-client/test/browser/browser_LogManager.js
rename : toolkit/components/normandy/test/browser/browser_NormandyDriver.js => browser/extensions/shield-recipe-client/test/browser/browser_NormandyDriver.js
rename : toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js => browser/extensions/shield-recipe-client/test/browser/browser_PreferenceExperiments.js
rename : toolkit/components/normandy/test/browser/browser_RecipeRunner.js => browser/extensions/shield-recipe-client/test/browser/browser_RecipeRunner.js
rename : toolkit/components/normandy/test/browser/browser_ShieldPreferences.js => browser/extensions/shield-recipe-client/test/browser/browser_ShieldPreferences.js
rename : toolkit/components/normandy/test/browser/browser_Storage.js => browser/extensions/shield-recipe-client/test/browser/browser_Storage.js
rename : toolkit/components/normandy/test/browser/browser_about_preferences.js => browser/extensions/shield-recipe-client/test/browser/browser_about_preferences.js
rename : toolkit/components/normandy/test/browser/browser_about_studies.js => browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js
rename : toolkit/components/normandy/test/browser/browser_Normandy.js => browser/extensions/shield-recipe-client/test/browser/browser_bootstrap.js
rename : toolkit/components/normandy/test/browser/fixtures/addon-fixture/manifest.json => browser/extensions/shield-recipe-client/test/browser/fixtures/addon-fixture/manifest.json
rename : toolkit/components/normandy/test/browser/fixtures/normandy.xpi => browser/extensions/shield-recipe-client/test/browser/fixtures/normandy.xpi
rename : toolkit/components/normandy/test/browser/head.js => browser/extensions/shield-recipe-client/test/browser/head.js
rename : toolkit/components/normandy/test/unit/.eslintrc.js => browser/extensions/shield-recipe-client/test/unit/.eslintrc.js
rename : toolkit/components/normandy/test/unit/echo_server.sjs => browser/extensions/shield-recipe-client/test/unit/echo_server.sjs
rename : toolkit/components/normandy/test/unit/head_xpc.js => browser/extensions/shield-recipe-client/test/unit/head_xpc.js
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4 => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/classify_client/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/classify_client/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/query_server.sjs
rename : toolkit/components/normandy/test/unit/test_NormandyApi.js => browser/extensions/shield-recipe-client/test/unit/test_NormandyApi.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => browser/extensions/shield-recipe-client/test/unit/test_Sampling.js
rename : toolkit/components/normandy/test/unit/test_SandboxManager.js => browser/extensions/shield-recipe-client/test/unit/test_SandboxManager.js
rename : toolkit/components/normandy/test/unit/test_Utils.js => browser/extensions/shield-recipe-client/test/unit/test_Utils.js
rename : toolkit/components/normandy/test/unit/utils.js => browser/extensions/shield-recipe-client/test/unit/utils.js
rename : toolkit/components/normandy/test/unit/xpcshell.ini => browser/extensions/shield-recipe-client/test/unit/xpcshell.ini
rename : toolkit/components/normandy/vendor/LICENSE_THIRDPARTY => browser/extensions/shield-recipe-client/vendor/LICENSE_THIRDPARTY
rename : toolkit/components/normandy/vendor/PropTypes.js => browser/extensions/shield-recipe-client/vendor/PropTypes.js
rename : toolkit/components/normandy/vendor/React.js => browser/extensions/shield-recipe-client/vendor/React.js
rename : toolkit/components/normandy/vendor/ReactDOM.js => browser/extensions/shield-recipe-client/vendor/ReactDOM.js
rename : toolkit/components/normandy/vendor/classnames.js => browser/extensions/shield-recipe-client/vendor/classnames.js
rename : toolkit/components/normandy/vendor/mozjexl.js => browser/extensions/shield-recipe-client/vendor/mozjexl.js
2018-03-01 00:37:47 +02:00
Mike Cooper 8688589946 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE

--HG--
extra : rebase_source : abf1f517b78952d42b0142ca458444eed61c939a
2018-02-21 15:02:04 -08:00
Andreas Tolfsen 65b1cb0c08 NO BUG - Fix path dependency info for geckodriver release documentation. r=me
MozReview-Commit-ID: GOIi7Yw0avJ
2018-02-26 17:26:12 +00:00
Andreas Tolfsen eff237d2c5 NO BUG - Fix bad language in geckodriver release documentation. r=me
MozReview-Commit-ID: yGL6FgTpkN
2018-02-26 17:26:11 +00:00
Andreas Tolfsen 5e76c9ffa9 NO BUG - Fix links in geckodriver release documentation. r=me
MozReview-Commit-ID: I6h9UCWVqOy
2018-02-26 16:59:00 +00:00
Andreas Tolfsen 9878f5fb4e Bug 1439582 - Use mutex to ensure tests for set_max_level are not racy. r=jgraham
When tests are run in parallel threads, it is possible for tests that
use logging::set_max_level to cause race conditions in other tests.
This patch ensures that the logging tests that use this function
are guarded by a mutex.

For example, when set_max_level(Level::Info) is called in test_max_level,
test_set_max_level may have also called set_max_level(Level::Fatal).
This causes a race condition between the first line and the second
line in test_max_level because the atomic test level will have been
changed away from Level::Info to Level::Fatal.

MozReview-Commit-ID: KQUpkYx6CCo

--HG--
extra : rebase_source : 790a5a93e6a15d16b2e960a5f21976e4dc5df873
2018-02-21 13:41:26 +00:00
Andreas Tolfsen 86adc06b32 Bug 1439331 - Upgrade mozrunner log dependency to 0.4. r=jgraham
MozReview-Commit-ID: 96rHwvsIEik

--HG--
extra : rebase_source : 8dc84880d8b1f9cba778c55dabb1cfd2cd31257f
2018-02-19 12:46:53 +01: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
Andreas Tolfsen ff9c750728 Bug 1396819 - Improve error messages from capabilities matching. r=whimboo
This patch somewhat marginally improves error messages returned
during capabilities negotiation.

MozReview-Commit-ID: IHTRk7Rl4ZU

--HG--
extra : rebase_source : a669039092d79ec2fb3b66f7e9ef6c3ed21bfd44
2018-02-14 15:43:56 +00: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
Emilio Cobos Álvarez e835b268bd No bug: Update webdriver version in Cargo.lock, and revendor rust dependencies. r=me on a CLOSED TREE
MozReview-Commit-ID: 9meRUsTNqL4
2018-02-15 20:10:11 +01:00
Bastien Orivel 5473571aa5 Bug 1438195 - Update log to 0.4 in webdriver and bump version. r=ato
MozReview-Commit-ID: 4lkBqe4EzEI

--HG--
extra : rebase_source : 4f8319f2cad1e33cebf3596fb4bf2a2f83534dfb
2018-02-15 13:01:10 +01:00
Andreea Pavel 74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Andreas Tolfsen 13b488a19b Bug 1437571 - Bump winreg dependencies. r=jgraham
Made this a separate commit as it would be impossible to review otherwise.

MozReview-Commit-ID: GBsDQA4bMtF


--HG--
rename : third_party/rust/winapi/.cargo-checksum.json => third_party/rust/winapi-0.2.8/.cargo-checksum.json
rename : third_party/rust/winapi/Cargo.toml => third_party/rust/winapi-0.2.8/Cargo.toml
rename : third_party/rust/winapi/LICENSE.md => third_party/rust/winapi-0.2.8/LICENSE.md
rename : third_party/rust/winapi/src/activation.rs => third_party/rust/winapi-0.2.8/src/activation.rs
rename : third_party/rust/winapi/src/audioclient.rs => third_party/rust/winapi-0.2.8/src/audioclient.rs
rename : third_party/rust/winapi/src/audiosessiontypes.rs => third_party/rust/winapi-0.2.8/src/audiosessiontypes.rs
rename : third_party/rust/winapi/src/basetsd.rs => third_party/rust/winapi-0.2.8/src/basetsd.rs
rename : third_party/rust/winapi/src/bcrypt.rs => third_party/rust/winapi-0.2.8/src/bcrypt.rs
rename : third_party/rust/winapi/src/cfg.rs => third_party/rust/winapi-0.2.8/src/cfg.rs
rename : third_party/rust/winapi/src/cfgmgr32.rs => third_party/rust/winapi-0.2.8/src/cfgmgr32.rs
rename : third_party/rust/winapi/src/combaseapi.rs => third_party/rust/winapi-0.2.8/src/combaseapi.rs
rename : third_party/rust/winapi/src/commctrl.rs => third_party/rust/winapi-0.2.8/src/commctrl.rs
rename : third_party/rust/winapi/src/commdlg.rs => third_party/rust/winapi-0.2.8/src/commdlg.rs
rename : third_party/rust/winapi/src/corsym.rs => third_party/rust/winapi-0.2.8/src/corsym.rs
rename : third_party/rust/winapi/src/d2d1.rs => third_party/rust/winapi-0.2.8/src/d2d1.rs
rename : third_party/rust/winapi/src/d2dbasetypes.rs => third_party/rust/winapi-0.2.8/src/d2dbasetypes.rs
rename : third_party/rust/winapi/src/d3d10shader.rs => third_party/rust/winapi-0.2.8/src/d3d10shader.rs
rename : third_party/rust/winapi/src/d3d11.rs => third_party/rust/winapi-0.2.8/src/d3d11.rs
rename : third_party/rust/winapi/src/d3d11shader.rs => third_party/rust/winapi-0.2.8/src/d3d11shader.rs
rename : third_party/rust/winapi/src/d3d12.rs => third_party/rust/winapi-0.2.8/src/d3d12.rs
rename : third_party/rust/winapi/src/d3d12sdklayers.rs => third_party/rust/winapi-0.2.8/src/d3d12sdklayers.rs
rename : third_party/rust/winapi/src/d3d12shader.rs => third_party/rust/winapi-0.2.8/src/d3d12shader.rs
rename : third_party/rust/winapi/src/d3d9.rs => third_party/rust/winapi-0.2.8/src/d3d9.rs
rename : third_party/rust/winapi/src/d3d9caps.rs => third_party/rust/winapi-0.2.8/src/d3d9caps.rs
rename : third_party/rust/winapi/src/d3d9types.rs => third_party/rust/winapi-0.2.8/src/d3d9types.rs
rename : third_party/rust/winapi/src/d3dcommon.rs => third_party/rust/winapi-0.2.8/src/d3dcommon.rs
rename : third_party/rust/winapi/src/d3dcompiler.rs => third_party/rust/winapi-0.2.8/src/d3dcompiler.rs
rename : third_party/rust/winapi/src/dbghelp.rs => third_party/rust/winapi-0.2.8/src/dbghelp.rs
rename : third_party/rust/winapi/src/dcommon.rs => third_party/rust/winapi-0.2.8/src/dcommon.rs
rename : third_party/rust/winapi/src/devpropdef.rs => third_party/rust/winapi-0.2.8/src/devpropdef.rs
rename : third_party/rust/winapi/src/docobj.rs => third_party/rust/winapi-0.2.8/src/docobj.rs
rename : third_party/rust/winapi/src/dpapi.rs => third_party/rust/winapi-0.2.8/src/dpapi.rs
rename : third_party/rust/winapi/src/dsgetdc.rs => third_party/rust/winapi-0.2.8/src/dsgetdc.rs
rename : third_party/rust/winapi/src/dsound.rs => third_party/rust/winapi-0.2.8/src/dsound.rs
rename : third_party/rust/winapi/src/dsrole.rs => third_party/rust/winapi-0.2.8/src/dsrole.rs
rename : third_party/rust/winapi/src/dwmapi.rs => third_party/rust/winapi-0.2.8/src/dwmapi.rs
rename : third_party/rust/winapi/src/dwrite.rs => third_party/rust/winapi-0.2.8/src/dwrite.rs
rename : third_party/rust/winapi/src/dxgi.rs => third_party/rust/winapi-0.2.8/src/dxgi.rs
rename : third_party/rust/winapi/src/dxgi1_2.rs => third_party/rust/winapi-0.2.8/src/dxgi1_2.rs
rename : third_party/rust/winapi/src/dxgi1_3.rs => third_party/rust/winapi-0.2.8/src/dxgi1_3.rs
rename : third_party/rust/winapi/src/dxgi1_4.rs => third_party/rust/winapi-0.2.8/src/dxgi1_4.rs
rename : third_party/rust/winapi/src/dxgiformat.rs => third_party/rust/winapi-0.2.8/src/dxgiformat.rs
rename : third_party/rust/winapi/src/dxgitype.rs => third_party/rust/winapi-0.2.8/src/dxgitype.rs
rename : third_party/rust/winapi/src/errhandlingapi.rs => third_party/rust/winapi-0.2.8/src/errhandlingapi.rs
rename : third_party/rust/winapi/src/excpt.rs => third_party/rust/winapi-0.2.8/src/excpt.rs
rename : third_party/rust/winapi/src/fileapi.rs => third_party/rust/winapi-0.2.8/src/fileapi.rs
rename : third_party/rust/winapi/src/gl.rs => third_party/rust/winapi-0.2.8/src/gl.rs
rename : third_party/rust/winapi/src/guiddef.rs => third_party/rust/winapi-0.2.8/src/guiddef.rs
rename : third_party/rust/winapi/src/heapapi.rs => third_party/rust/winapi-0.2.8/src/heapapi.rs
rename : third_party/rust/winapi/src/hidclass.rs => third_party/rust/winapi-0.2.8/src/hidclass.rs
rename : third_party/rust/winapi/src/hidpi.rs => third_party/rust/winapi-0.2.8/src/hidpi.rs
rename : third_party/rust/winapi/src/hidsdi.rs => third_party/rust/winapi-0.2.8/src/hidsdi.rs
rename : third_party/rust/winapi/src/hidusage.rs => third_party/rust/winapi-0.2.8/src/hidusage.rs
rename : third_party/rust/winapi/src/hstring.rs => third_party/rust/winapi-0.2.8/src/hstring.rs
rename : third_party/rust/winapi/src/http.rs => third_party/rust/winapi-0.2.8/src/http.rs
rename : third_party/rust/winapi/src/imm.rs => third_party/rust/winapi-0.2.8/src/imm.rs
rename : third_party/rust/winapi/src/inaddr.rs => third_party/rust/winapi-0.2.8/src/inaddr.rs
rename : third_party/rust/winapi/src/inspectable.rs => third_party/rust/winapi-0.2.8/src/inspectable.rs
rename : third_party/rust/winapi/src/ksmedia.rs => third_party/rust/winapi-0.2.8/src/ksmedia.rs
rename : third_party/rust/winapi/src/lib.rs => third_party/rust/winapi-0.2.8/src/lib.rs
rename : third_party/rust/winapi/src/libloaderapi.rs => third_party/rust/winapi-0.2.8/src/libloaderapi.rs
rename : third_party/rust/winapi/src/lmaccess.rs => third_party/rust/winapi-0.2.8/src/lmaccess.rs
rename : third_party/rust/winapi/src/lmcons.rs => third_party/rust/winapi-0.2.8/src/lmcons.rs
rename : third_party/rust/winapi/src/lmdfs.rs => third_party/rust/winapi-0.2.8/src/lmdfs.rs
rename : third_party/rust/winapi/src/lmerrlog.rs => third_party/rust/winapi-0.2.8/src/lmerrlog.rs
rename : third_party/rust/winapi/src/lmjoin.rs => third_party/rust/winapi-0.2.8/src/lmjoin.rs
rename : third_party/rust/winapi/src/lsalookup.rs => third_party/rust/winapi-0.2.8/src/lsalookup.rs
rename : third_party/rust/winapi/src/macros.rs => third_party/rust/winapi-0.2.8/src/macros.rs
rename : third_party/rust/winapi/src/memoryapi.rs => third_party/rust/winapi-0.2.8/src/memoryapi.rs
rename : third_party/rust/winapi/src/minschannel.rs => third_party/rust/winapi-0.2.8/src/minschannel.rs
rename : third_party/rust/winapi/src/minwinbase.rs => third_party/rust/winapi-0.2.8/src/minwinbase.rs
rename : third_party/rust/winapi/src/minwindef.rs => third_party/rust/winapi-0.2.8/src/minwindef.rs
rename : third_party/rust/winapi/src/mmdeviceapi.rs => third_party/rust/winapi-0.2.8/src/mmdeviceapi.rs
rename : third_party/rust/winapi/src/mmreg.rs => third_party/rust/winapi-0.2.8/src/mmreg.rs
rename : third_party/rust/winapi/src/mmsystem.rs => third_party/rust/winapi-0.2.8/src/mmsystem.rs
rename : third_party/rust/winapi/src/mscat.rs => third_party/rust/winapi-0.2.8/src/mscat.rs
rename : third_party/rust/winapi/src/mssip.rs => third_party/rust/winapi-0.2.8/src/mssip.rs
rename : third_party/rust/winapi/src/nb30.rs => third_party/rust/winapi-0.2.8/src/nb30.rs
rename : third_party/rust/winapi/src/ncrypt.rs => third_party/rust/winapi-0.2.8/src/ncrypt.rs
rename : third_party/rust/winapi/src/ntdef.rs => third_party/rust/winapi-0.2.8/src/ntdef.rs
rename : third_party/rust/winapi/src/ntsecapi.rs => third_party/rust/winapi-0.2.8/src/ntsecapi.rs
rename : third_party/rust/winapi/src/ntstatus.rs => third_party/rust/winapi-0.2.8/src/ntstatus.rs
rename : third_party/rust/winapi/src/oaidl.rs => third_party/rust/winapi-0.2.8/src/oaidl.rs
rename : third_party/rust/winapi/src/objbase.rs => third_party/rust/winapi-0.2.8/src/objbase.rs
rename : third_party/rust/winapi/src/objidl.rs => third_party/rust/winapi-0.2.8/src/objidl.rs
rename : third_party/rust/winapi/src/objidlbase.rs => third_party/rust/winapi-0.2.8/src/objidlbase.rs
rename : third_party/rust/winapi/src/olectl.rs => third_party/rust/winapi-0.2.8/src/olectl.rs
rename : third_party/rust/winapi/src/pdh.rs => third_party/rust/winapi-0.2.8/src/pdh.rs
rename : third_party/rust/winapi/src/playsoundapi.rs => third_party/rust/winapi-0.2.8/src/playsoundapi.rs
rename : third_party/rust/winapi/src/processsnapshot.rs => third_party/rust/winapi-0.2.8/src/processsnapshot.rs
rename : third_party/rust/winapi/src/processthreadsapi.rs => third_party/rust/winapi-0.2.8/src/processthreadsapi.rs
rename : third_party/rust/winapi/src/propidl.rs => third_party/rust/winapi-0.2.8/src/propidl.rs
rename : third_party/rust/winapi/src/propsys.rs => third_party/rust/winapi-0.2.8/src/propsys.rs
rename : third_party/rust/winapi/src/prsht.rs => third_party/rust/winapi-0.2.8/src/prsht.rs
rename : third_party/rust/winapi/src/psapi.rs => third_party/rust/winapi-0.2.8/src/psapi.rs
rename : third_party/rust/winapi/src/qos.rs => third_party/rust/winapi-0.2.8/src/qos.rs
rename : third_party/rust/winapi/src/reason.rs => third_party/rust/winapi-0.2.8/src/reason.rs
rename : third_party/rust/winapi/src/restrictederrorinfo.rs => third_party/rust/winapi-0.2.8/src/restrictederrorinfo.rs
rename : third_party/rust/winapi/src/roapi.rs => third_party/rust/winapi-0.2.8/src/roapi.rs
rename : third_party/rust/winapi/src/roerrorapi.rs => third_party/rust/winapi-0.2.8/src/roerrorapi.rs
rename : third_party/rust/winapi/src/rpc.rs => third_party/rust/winapi-0.2.8/src/rpc.rs
rename : third_party/rust/winapi/src/rpcdce.rs => third_party/rust/winapi-0.2.8/src/rpcdce.rs
rename : third_party/rust/winapi/src/sapi.rs => third_party/rust/winapi-0.2.8/src/sapi.rs
rename : third_party/rust/winapi/src/schannel.rs => third_party/rust/winapi-0.2.8/src/schannel.rs
rename : third_party/rust/winapi/src/servprov.rs => third_party/rust/winapi-0.2.8/src/servprov.rs
rename : third_party/rust/winapi/src/setupapi.rs => third_party/rust/winapi-0.2.8/src/setupapi.rs
rename : third_party/rust/winapi/src/shellapi.rs => third_party/rust/winapi-0.2.8/src/shellapi.rs
rename : third_party/rust/winapi/src/shellscalingapi.rs => third_party/rust/winapi-0.2.8/src/shellscalingapi.rs
rename : third_party/rust/winapi/src/shlguid.rs => third_party/rust/winapi-0.2.8/src/shlguid.rs
rename : third_party/rust/winapi/src/shlobj.rs => third_party/rust/winapi-0.2.8/src/shlobj.rs
rename : third_party/rust/winapi/src/shobjidl.rs => third_party/rust/winapi-0.2.8/src/shobjidl.rs
rename : third_party/rust/winapi/src/shtypes.rs => third_party/rust/winapi-0.2.8/src/shtypes.rs
rename : third_party/rust/winapi/src/spapidef.rs => third_party/rust/winapi-0.2.8/src/spapidef.rs
rename : third_party/rust/winapi/src/sql.rs => third_party/rust/winapi-0.2.8/src/sql.rs
rename : third_party/rust/winapi/src/sqltypes.rs => third_party/rust/winapi-0.2.8/src/sqltypes.rs
rename : third_party/rust/winapi/src/sspi.rs => third_party/rust/winapi-0.2.8/src/sspi.rs
rename : third_party/rust/winapi/src/strmif.rs => third_party/rust/winapi-0.2.8/src/strmif.rs
rename : third_party/rust/winapi/src/subauth.rs => third_party/rust/winapi-0.2.8/src/subauth.rs
rename : third_party/rust/winapi/src/synchapi.rs => third_party/rust/winapi-0.2.8/src/synchapi.rs
rename : third_party/rust/winapi/src/sysinfoapi.rs => third_party/rust/winapi-0.2.8/src/sysinfoapi.rs
rename : third_party/rust/winapi/src/threadpoolapi.rs => third_party/rust/winapi-0.2.8/src/threadpoolapi.rs
rename : third_party/rust/winapi/src/timezoneapi.rs => third_party/rust/winapi-0.2.8/src/timezoneapi.rs
rename : third_party/rust/winapi/src/tlhelp32.rs => third_party/rust/winapi-0.2.8/src/tlhelp32.rs
rename : third_party/rust/winapi/src/unknwnbase.rs => third_party/rust/winapi-0.2.8/src/unknwnbase.rs
rename : third_party/rust/winapi/src/urlhist.rs => third_party/rust/winapi-0.2.8/src/urlhist.rs
rename : third_party/rust/winapi/src/urlmon.rs => third_party/rust/winapi-0.2.8/src/urlmon.rs
rename : third_party/rust/winapi/src/usb.rs => third_party/rust/winapi-0.2.8/src/usb.rs
rename : third_party/rust/winapi/src/usbspec.rs => third_party/rust/winapi-0.2.8/src/usbspec.rs
rename : third_party/rust/winapi/src/usp10.rs => third_party/rust/winapi-0.2.8/src/usp10.rs
rename : third_party/rust/winapi/src/vadefs.rs => third_party/rust/winapi-0.2.8/src/vadefs.rs
rename : third_party/rust/winapi/src/vsbackup.rs => third_party/rust/winapi-0.2.8/src/vsbackup.rs
rename : third_party/rust/winapi/src/vss.rs => third_party/rust/winapi-0.2.8/src/vss.rs
rename : third_party/rust/winapi/src/vsserror.rs => third_party/rust/winapi-0.2.8/src/vsserror.rs
rename : third_party/rust/winapi/src/vswriter.rs => third_party/rust/winapi-0.2.8/src/vswriter.rs
rename : third_party/rust/winapi/src/werapi.rs => third_party/rust/winapi-0.2.8/src/werapi.rs
rename : third_party/rust/winapi/src/winbase.rs => third_party/rust/winapi-0.2.8/src/winbase.rs
rename : third_party/rust/winapi/src/wincon.rs => third_party/rust/winapi-0.2.8/src/wincon.rs
rename : third_party/rust/winapi/src/wincred.rs => third_party/rust/winapi-0.2.8/src/wincred.rs
rename : third_party/rust/winapi/src/wincrypt.rs => third_party/rust/winapi-0.2.8/src/wincrypt.rs
rename : third_party/rust/winapi/src/windef.rs => third_party/rust/winapi-0.2.8/src/windef.rs
rename : third_party/rust/winapi/src/windowscodecs.rs => third_party/rust/winapi-0.2.8/src/windowscodecs.rs
rename : third_party/rust/winapi/src/windowsx.rs => third_party/rust/winapi-0.2.8/src/windowsx.rs
rename : third_party/rust/winapi/src/winerror.rs => third_party/rust/winapi-0.2.8/src/winerror.rs
rename : third_party/rust/winapi/src/winevt.rs => third_party/rust/winapi-0.2.8/src/winevt.rs
rename : third_party/rust/winapi/src/wingdi.rs => third_party/rust/winapi-0.2.8/src/wingdi.rs
rename : third_party/rust/winapi/src/winhttp.rs => third_party/rust/winapi-0.2.8/src/winhttp.rs
rename : third_party/rust/winapi/src/winioctl.rs => third_party/rust/winapi-0.2.8/src/winioctl.rs
rename : third_party/rust/winapi/src/winnetwk.rs => third_party/rust/winapi-0.2.8/src/winnetwk.rs
rename : third_party/rust/winapi/src/winnls.rs => third_party/rust/winapi-0.2.8/src/winnls.rs
rename : third_party/rust/winapi/src/winnt.rs => third_party/rust/winapi-0.2.8/src/winnt.rs
rename : third_party/rust/winapi/src/winreg.rs => third_party/rust/winapi-0.2.8/src/winreg.rs
rename : third_party/rust/winapi/src/winscard.rs => third_party/rust/winapi-0.2.8/src/winscard.rs
rename : third_party/rust/winapi/src/winsmcrd.rs => third_party/rust/winapi-0.2.8/src/winsmcrd.rs
rename : third_party/rust/winapi/src/winsock2.rs => third_party/rust/winapi-0.2.8/src/winsock2.rs
rename : third_party/rust/winapi/src/winspool.rs => third_party/rust/winapi-0.2.8/src/winspool.rs
rename : third_party/rust/winapi/src/winstring.rs => third_party/rust/winapi-0.2.8/src/winstring.rs
rename : third_party/rust/winapi/src/winsvc.rs => third_party/rust/winapi-0.2.8/src/winsvc.rs
rename : third_party/rust/winapi/src/winusb.rs => third_party/rust/winapi-0.2.8/src/winusb.rs
rename : third_party/rust/winapi/src/winusbio.rs => third_party/rust/winapi-0.2.8/src/winusbio.rs
rename : third_party/rust/winapi/src/winuser.rs => third_party/rust/winapi-0.2.8/src/winuser.rs
rename : third_party/rust/winapi/src/ws2def.rs => third_party/rust/winapi-0.2.8/src/ws2def.rs
rename : third_party/rust/winapi/src/ws2ipdef.rs => third_party/rust/winapi-0.2.8/src/ws2ipdef.rs
rename : third_party/rust/winapi/src/ws2spi.rs => third_party/rust/winapi-0.2.8/src/ws2spi.rs
rename : third_party/rust/winapi/src/ws2tcpip.rs => third_party/rust/winapi-0.2.8/src/ws2tcpip.rs
rename : third_party/rust/winapi/src/wtypes.rs => third_party/rust/winapi-0.2.8/src/wtypes.rs
rename : third_party/rust/winapi/src/wtypesbase.rs => third_party/rust/winapi-0.2.8/src/wtypesbase.rs
rename : third_party/rust/winapi/src/xinput.rs => third_party/rust/winapi-0.2.8/src/xinput.rs
rename : third_party/rust/winreg/examples/transaction.rs => third_party/rust/winreg/examples/transactions.rs
2018-02-14 20:48:26 +00:00
Andreas Tolfsen 14bddc03aa Bug 1437571 - Upgrade to winreg v0.5.0. r=jgraham
Output from "./mach vendor rust":

    Removing advapi32-sys v0.1.2
    Removing kernel32-sys v0.1.4
    Removing ktmw32-sys v0.1.0
      Adding winapi v0.3.4
      Adding winapi-i686-pc-windows-gnu v0.4.0
      Adding winapi-x86_64-pc-windows-gnu v0.4.0
    Updating winreg v0.3.5 -> v0.5.0

MozReview-Commit-ID: 5IP63yfo34S
2018-02-14 20:48:17 +00:00
Andreas Tolfsen fdc441f4cb Bug 1436830 - Roll own log::Log implementation in geckodriver. r=rillian,jgraham
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
2018-02-14 18:34:25 +00:00
Andreas Tolfsen 6ea2cf1e57 Bug 1437570 - Upgrade to rust-ini 0.10.2. r=jgraham
Upgrading to rust-ini 0.10.2 has the benefit that it no longers
depends on a too specific version of the log crate.  We currently
compile two different versions of log as part of the geckodriver
build, and it will marginally increase compile performance not to
compile that twice.

MozReview-Commit-ID: HAwa4Kg8Lyn

--HG--
extra : rebase_source : d81b3450934f011663b508271c8c6a0f92997490
2018-02-12 16:17:45 +00: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
Raphael Pierzina e082824ab0 Bug 1436346 - Fix broken link to geckodriver README in TraceLogs docs; r=ato
MozReview-Commit-ID: DlF61W3fm5o

--HG--
extra : rebase_source : 96a34e101927568a0f81d4660b667686cda5e465
2018-02-07 17:09:51 +01:00
Paul Warner a4c0f8161c Bug 1399158 - Add --jsdebugger flag to geckodriver. r=ato
When --jsdebugger is passed to geckodriver, it will override
preferences related to starting the Browser Toolbox and pass
-jsdebugger on to the Firefox process.

It is functionally equivalent to "./mach marionette test --jsdebugger".

MozReview-Commit-ID: ADfrLPXtQoy
2018-02-07 12:00:53 +00:00
Andrea Marchesini bed28cc612 Bug 1435975 - Typo in geckodriver option for mozconfig, r=whimboo 2018-02-06 11:16:30 +01:00
James Graham 3ecd324bdc Bug 1431459 - Update rust_mozrunner to use a Builder API, r=ato
This is a major API revision to replace the Python-like API with
something more idiomatically Rust. In particular you now create a
FirefoxRunner object and then call start() and end up with a
FirefoxProcess. This is pretty similar to the Command builder in std.

MozReview-Commit-ID: DmEfIfKSukA

--HG--
extra : rebase_source : 30fba6b2d9584a8a4128b641747beda1d264f7c5
2017-12-19 18:39:10 +00:00