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

376 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin b8f24d14e4 Bug 1364385 - Do not use canonicalized path to start Firefox. r=ato
Using the canonicalized path to start Firefox breaks the
browser on Windows because the "\\?\" prefix is not supported
yet. As result all components which rely on XCurProcD for
file handling are throwing JS errors, and do not initialize
correctly.

MozReview-Commit-ID: 5MWhDf1HCWf

--HG--
extra : rebase_source : da97482894eda970b6e6610e7462b927b57fb3a1
2017-06-02 13:40:24 +02:00
Xidorn Quan 18d00c2891 Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE.
MozReview-Commit-ID: 3Km7H7yEh39
2017-06-01 09:52:00 +10:00
Xidorn Quan 208110c249 Bug 1341102 - Revendor rust dependencies again after several manual update on a CLOSED TREE.
MozReview-Commit-ID: JMCJVitYYnz
2017-06-01 09:35:32 +10:00
Andreas Tolfsen b91d797ab3 Bug 1340637 - Update geckodriver cargo lockfile for vendored crates; r=ted
This updates geckodriver's cargo lockfile,
testing/geckodriver/Cargo.lock, with the exact crate versions available
under third_party/rust.  This will ensure geckodriver is built using the
correct in-tree crate dependencies.

MozReview-Commit-ID: HtPohwW6uN0

--HG--
extra : rebase_source : cdafc425e572494550ce81d6d8c612496fcaab82
2017-05-23 16:37:33 +01:00
Andreas Tolfsen eda48cff40 Bug 1340637 - Provide build rules for geckodriver; r=jgraham,ted
geckodriver is the Mozilla implementation of the WebDriver remote
control interface for Gecko, and provides an HTTPD proxy that
translates the WebDriver protocol to Marionette.

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

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

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

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

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

MozReview-Commit-ID: FG5tmPv4iut

--HG--
extra : rebase_source : 091728fd2582458325689fc6e3d8b317428802d8
2017-05-23 14:55:54 +01:00
David Burns 7e83395231 Bug 1366728 - Allow Window Rect dimensions to pass through after Set Window Rect; r=jgraham
By allowing the data to pass through we become conformant on the final step of
https://w3c.github.io/webdriver/webdriver-spec.html#set-window-rect

MozReview-Commit-ID: HZjrvQSUbRr

--HG--
extra : rebase_source : 84373d8bda9643c9878caca34cdcfafdf151fe22
2017-05-23 11:51:07 +01:00
Andreas Tolfsen 8fb785ffcc geckodriver: Make trace logs safe for windows prompt (#722)
* marionette: make trace logs safe for windows prompt

The symbols "←" and "→" are encodeed as "?" in the Windows command
prompt.  To make the logs from this system useful, use ASCII versions
of the arrows.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 60e7a430dc38a9e1921928c0cd996bb5fc00198b

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

IGNORE BAD COMMIT MESSAGES

--HG--
extra : rebase_source : 261d9d9d73b8e2139dc20bec0985352f2897fabe
extra : amend_source : 4f838fad090337c2a49a3987c3a12d3289e4c7d0
2017-05-08 14:44:54 +01:00
Andreas Tolfsen 9fa4232025 geckodriver: marionette: correct error when there is no current session (#701)
Fixes: https://github.com/mozilla/geckodriver/issues/689
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d30e757d4496e231010526cee6e5866ceadfb9d1

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 3392957d03facfb917a79a776e08082f2ed93231
2017-05-05 11:58:04 +02:00
Maja Frydrychowicz a18d62d5c1 geckodriver: Add extension commands for addon install, uninstall (#711)
Fixes: https://github.com/mozilla/geckodriver/issues/211
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 4060a72ba56130319daef8096ece492cd04a5440

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 4d7fb986f7d1ddd39aff788c082fcaf4634e9d0f
2017-05-03 14:48:36 +01:00
Cody Tubbs 6462677c8e geckodriver: Updated .travis.yml for linux32 optimized compile
Added before_install to handle packages that solve the current 32-bit Linux optimized release issues.
This addition also ensures future changes in dependencies won't cause similar errors.
Defining OS for the i686 target is no longer needed and will break the build if defined.

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

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

--HG--
extra : rebase_source : be082b3c0e15f003a33646aa40f03cd348fe43ad
2017-04-28 20:13:28 +01:00
Andreas Tolfsen 93213e7e41 geckodriver: changes: fix markdown
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: adb0413270fb7bf9ab76a56d5aae4c9140edf085

--HG--
extra : rebase_source : 951e52f36ce84dcbaf88ad3963a1a5891654114c
2017-04-26 14:07:38 +01:00
Andreas Tolfsen cd42e36f6d geckodriver: cargo: release 0.16.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: dd567ba607b71aba72970840f8e61ec91f1489dd

--HG--
extra : rebase_source : 66d2d9535d91ca7fa173e3da93eeb9a603dda7d6
2017-04-26 13:59:45 +01:00
Andreas Tolfsen 6c6316c92c geckodriver: cargo: bump dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9c888688a1abbbe9aaa1e89edf37ebf0539bea9c

--HG--
extra : rebase_source : eda5e66a2b1a9135e3f7c43a5735a3fcb8931672
2017-04-26 13:59:45 +01:00
Andreas Tolfsen 8eac5bd09a geckodriver: changes: update for 0.16.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 03486bc538f3ea9207b719f8598addb916879cc2

--HG--
extra : rebase_source : c4ce1ceffb2b04d5354726f2ddf43c3a58944409
2017-04-26 13:59:45 +01:00
jgraham 3723ab3ffd geckodriver: Read Firefox version by launching binary if mozversion fails (#685)
In some circumstances mozversion's attempt to read the Firefox version
from ini files can fail. This can be, for example, when the "binary"
is actaully a shell script that launches the real Firefox. In that
case it isn't necessarily possible to locate the ini files without
making the user explicitly provide a path. Instead fall back on
running `firefox -version` in this case and extracting the binary from
the returned string.

Fixes: https://github.com/SeleniumHQ/selenium/issues/3884
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6d1c7f28da90910c05426bbda8a70c42676033fa

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 6d058c8c863022280e3b077b5facb2adf23c02b0
2017-04-26 13:47:40 +01:00
Andreas Tolfsen a141035fae geckodriver: marionette: unmarshal CloseWindowResponse
geckodriver currently assumes the response from the CloseWindow command
is empty and unmarshals it to Ok(Void).

Starting with Firefox 52, Marionette returns a window handle array to
indicate whether the last window was closed.  If this array is empty,
the delete_session field is set to true and the session is ended.

Fixes: https://github.com/mozilla/geckodriver/issues/613
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: b579b41838918460a63b59a4bb7933ecf485b7f5

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

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : aafcf7e4cded0edc9554d4334753f7e9ad9a9c6e
2017-04-21 16:07:01 +01:00
Andreas Tolfsen 995ac4e4b8 geckodriver: changes: update with latest changes
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f46d65ccdc7b22d773977fb3b3fb6a57108ddfd2

--HG--
extra : rebase_source : ee8427469399da637db83f78186d372df55754b5
2017-04-20 14:06:33 +01:00
Andreas Tolfsen e183f1a49b geckodriver: cargo: bump dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2c06ba5ae9b03041ea68467b035e061cf70cc72b

--HG--
extra : rebase_source : 4845342be208becfa11f3bcdd2e9494db786282b
2017-04-20 14:02:24 +01:00
Jason Juang 19a1553638 geckodriver: Permit Json::U64 when validating prefs in moz:firefoxOptions (#658)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 94e218746a7f5c56a551eb4f21a20ff575ca128a

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 90b02a7c35f6e16abfe00180560243154de43f40
2017-04-20 11:27:43 +01:00
Jason Juang 05fb17383e geckodriver: Accept "page load" and "pageLoad" in the Marionette response (#656)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 029b60f44f4b5d886525e1a050fd01f8123ddfc5

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 01bae43c39d36f9ebfbad81f5017aa6caf23d915
2017-04-19 23:36:12 +01:00
Andreas Tolfsen f2f7acb743 geckodriver: readme: add note about webdriver crate
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 06249a7b3785b41ec8bd49059b1d6127a894a047

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : a32ee539d53556392e5dca4a823a2072fadd09f6
2017-04-19 21:55:20 +01:00
Andreas Tolfsen d7a2448b69 geckodriver: readme: document usage flags
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 44d47f2751c125cfc27be38c62453e56e2893aad

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : c149e36642de048f2f38682b2012432c562ff2e6
2017-04-19 21:55:20 +01:00
Andreas Tolfsen 2f52fc0539 geckodriver: cargo: update dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 363cf9ed793e5fb1530081869a054905b5e4baa8

--HG--
extra : rebase_source : 7cbfdf7ba48557da3173b0eb1b3a7fe89ac241a0
2017-04-19 20:15:06 +01:00
Andreas Tolfsen 67ad934cd8 geckodriver: changes: update
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 554430eb9b1c97014e64f3c633083342c63ab10a

--HG--
extra : rebase_source : 5cbe2cf2d71594db394d0e7f9bb2c07a42041dad
2017-04-18 19:39:15 +01:00
Andreas Tolfsen 9341a6db85 geckodriver: cargo, changes: bump webdriver to v0.25.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c219de22c63c2a3cb325b70de76a90407493724b

--HG--
extra : rebase_source : f42f4b4530412a12f3bbd2c43e31e368fd61f82e
2017-04-18 19:33:52 +01:00
Andreas Tolfsen 97dc2e8f78 geckodriver: cargo: bump dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f798e4bb147d6aeb1f2732c45cad813a4f6fd10d

--HG--
extra : rebase_source : 9efcb6b2b8799d4487ec596ad81316e7b31f1079
2017-04-18 19:26:01 +01:00
Andreas Tolfsen 04568f3323 geckodriver: changes: v0.16.0 has not been released
Prevent confusion amongst users as towards whether v0.16.0 is out.

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

--HG--
extra : rebase_source : 19985f1ae4f75089c1ee26e5d896292d82a82b0c
2017-04-18 12:55:54 +01:00
Andreas Tolfsen 2ff5719770 geckodriver: marionette: reduce importance of marionette communication
The log messages of what geckodriver sends and receives from the
Marionette server will now be logged at trace level.  This brings parity
to the way protocol chatter is logged in the Marionette server.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 15345b6780dc3ab55b8b69f88e7634d80c912b72

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

--HG--
extra : rebase_source : dca9860c8e23b94c560afc3d90effa2ae3603830
2017-04-12 15:19:25 +01:00
Andreas Tolfsen ac424fd4bf geckodriver: logging: ignore records from other modules
This effectively filters out all log entries from modules that do not
begin with either "geckodriver" or "webdriver".  This is a big hack,
but works well enough for the time being.

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

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

--HG--
extra : rebase_source : 9056ddebabb690aa69fb57f7b7918b729a8920f9
2017-04-12 15:19:25 +01:00
Andreas Tolfsen a916118d82 geckodriver: marionette: convert str to owned string
Fixes build.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 871a7065b88eb06725d0dd8490cd0caefae857cc

--HG--
extra : rebase_source : 7f6563c0e4744a13941c07f19fc379b805be873e
2017-04-12 15:08:06 +01:00
Andreas Tolfsen 32ffb8bc18 geckodriver: marionette: append X11 style -marionette flag when starting browser
https://github.com/jgraham/rust_mozrunner/pull/7 was recently submitted
to make mozrunner not imply starting the Marionette server by passing the
--marionette flag.  This patch appends -marionette, with a single dash,
so that it will be accepted on Windows systems.

More discussion around this in
2e0054b90e.

Fixes: https://github.com/mozilla/geckodriver/issues/640
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 7c577c04176c1cc7b5bd45928b3a36bd1818c5ae

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

--HG--
extra : rebase_source : 44dda1287b2da1c8199bce149367ee5483f456e7
2017-04-12 14:51:16 +01:00
Jason Juang 9046a8f9b4 geckodriver: Make acceptInsecureCerts work with Firefox 52 (#632)
Fixes: https://github.com/mozilla/geckodriver/issues/630
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 72abe37b99cef7637135d5e5d902f7ba0df9a84b

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 9d0ed3a15d8a6170ad2353cc0dafc2d1c5bf79c7
2017-04-11 14:21:31 +01:00
Andreas Tolfsen 34a8cf40e2 geckodriver: ci: log cc compiler when building
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2448d3a049ec6820cb8a0b790270ef81b126bd4e

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

--HG--
extra : rebase_source : a38d42dcbe126c8d18b501eebc4a7cb69dcd0bcf
2017-04-10 21:23:14 +01:00
Andreas Tolfsen 5a02bf10e8 geckodriver: ci: force gcc compiler for i686-unknown-linux-musl
Travis at some point changed the default compiler in their images to be
clang.  Cross-compiling Rust code with clang is not possible quite yet,
so we force gcc to be used.

Fixes: https://github.com/mozilla/geckodriver/issues/495
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 043806820230f720c253d3d305dc15747d994b05

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

--HG--
extra : rebase_source : 5b3a96f126a2b657e7659450489a99451ea4103b
2017-04-10 21:23:14 +01:00
Andreas Tolfsen b77a407597 geckodriver: readme: document default profile
Add documentation that explains where the fresh profiles are created
and how you can get its path from the returned capabilities object.

Fixes: https://github.com/mozilla/geckodriver/issues/605
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 0ad52a1e8f7a7da44a6cd6ec828af6acf3f6631d

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

--HG--
extra : rebase_source : 6bdb014f2a1ab6f31e7f7bc65c685db026e23b52
2017-04-10 18:03:48 +01:00
Andreas Tolfsen e51965a692 geckodriver: readme: fix sessionId in curl example
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 4ce4fb34d4e5f65c362bde1f1dc379de56fcc031

--HG--
extra : rebase_source : f4cad27e4491e0ad15f74f104c7fb72a5a2a8eba
2017-04-10 16:33:57 +01:00
Andreas Tolfsen af5d0b482d geckodriver: Update usage instructions (#625)
* readme: expand usage instructions

Expands the usage instructions section of the README to contain actual,
useful information on how to use geckodriver with Selenium and as a
standalone WebDriver server.

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

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 9d5ebe506f6321712898d519e5ba2c34e91c743b
2017-04-10 16:29:27 +01:00
Andreas Tolfsen e58a58ef10 geckodriver: readme: remove version output in -h display
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 05edecf389edc8bbe9b86df823bebb51e28c8ef5

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

--HG--
extra : rebase_source : a71297e222e9bf9717f65b368c0fdaf69eedff88
2017-04-10 14:33:44 +01:00
Andreas Tolfsen d23ec3ebd0 geckodriver: changes: update for 0.16.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 441c0987894ff9b613713a092c67b958a8434f15

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : bd2e378de4468c17bd9189a9c6131b2987be2754
2017-04-10 14:31:00 +01:00
Andreas Tolfsen 96b8604e8a geckodriver: readme: recommend at least Firefox 52.0.3 or greater
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2606ad398d89752014d7331c162ae5b6d3f56090

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

--HG--
extra : rebase_source : 975b25b83d927c7dd9134846314c0afc6b631c7b
2017-04-10 13:50:15 +01:00
Andreas Tolfsen e9277216ed geckodriver: cargo: upgrade dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3237ea34fb0f5ddaec84f03b4de4c6a18af8699d

--HG--
extra : rebase_source : 643af6a270e640168c67d15e05df0b4c0a181c0d
2017-04-10 13:36:27 +01:00
Andreas Tolfsen c46c437826 geckodriver: cargo, marionette: upgrade to webdriver 0.25.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8dd4d2ae567a99d6dba9060cfadecf3acea8823d

--HG--
extra : rebase_source : 683f5d9ab463dd2a00cde705bcaede68ecbaecb0
2017-04-10 13:36:27 +01:00
Andreas Tolfsen 54ea515085 geckodriver: marionette: send text string and value array for SendKeysParameters
Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782
and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the
sendKeysToElement and sendKeysToDialog commands in Marionette accept
only a string `text' field as input.

These patches to Firefox has since been uplifted all the way to Firefox
53.  In order to make geckodriver work with newer Firefox versions again,
we need to pass the `text' field.  But in order to support older Firefoxen
without the `text' field requirement, we also want to continue to send
`value' as a string array.

Clients must unfortunately send a string `text' field, but it is believed
it is easier to upgrade to the latest Selenium release than to pin the
exact versions of geckodriver and Firefox.

Fixes: https://github.com/mozilla/geckodriver/issues/594
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff

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

--HG--
extra : rebase_source : 1574a632e591dc121cba77fc58c8026435fbef2b
2017-04-07 14:28:59 +01:00
Andreas Tolfsen 9949484bc6 geckodriver: marionette: set marionette.log.level pref
marionette.logging has been renamed marionette.log.level, but we keep
the former around for backwards compatibility with earlier Firefoxen.

This is similar to change made in 8f19dc4dac63da4153584a2a6974c26be9453ecc
for marionette.port.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 46518d9d8ae20eea00dd1c7fdaa1287f8c036c7e

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

--HG--
extra : rebase_source : fe4aad6bb2dc74789ba1665463084cf873f30a78
2017-04-07 14:27:34 +01:00
Andreas Tolfsen 88528d4cd9 geckodriver: marionette: remove capabilities field wrapping for NewSession
Remove one layer of wrapping inside the `capabilities' field when
geckodriver sends the capabilities to Marionette.

Prior to this patch, geckodriver would send the following JSON Object
to Marionette's newSession command:

	{capabilities: {foo: 1, {desiredCapabilities: {foo: 1}}}}

Following this patch, it sends:

	{foo: 1, {capabilities: {desiredCapabilities: {foo: 1}}}}

In the future, the idea is to remove the capabilities object altogether
and just send

	{foo: 1}

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

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

--HG--
extra : rebase_source : efafe8e0f0ad4fe9cb853baade31be58e9a50e52
2017-04-07 14:26:58 +01:00
Andreas Tolfsen 31aea4a2a2 geckodriver: marionette: set marionette.port in profile
The marionette.defaultPrefs.port preference
has been renamed to marionette.port as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1344748.

We keep the fallback preference around until Firefox 54 becomes stable
for backwards compatibility reasons.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8f19dc4dac63da4153584a2a6974c26be9453ecc

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

--HG--
extra : rebase_source : c47f609e17ce7310c48f801bd85c9291dfb4b88a
2017-04-04 17:43:45 +01:00
Andreas Tolfsen 2f6786e944 geckodriver: prefs, marionette: remove or move remaining required prefs
When a user provides a profile that wnats to override browser.warnOnQuit,
browser.tabs.warnOnClose, or browser.showQuitWarning, we should
allow users to do stupid things.  We should not prevent the profile's
preferences from being applied.

dom.ipc.cpows.forbid-unsafe-from-browser is being removed because all
targetted Firefoxen are not using any unsafe CPOWs in Marionette code.

marionette.defaultPrefs.enabled is superfluous for as long as the
--marionette flag is being passed to the Firefox binary.

Remaining relevant prefs from prefs::REQUIRED have been merged into
prefs::DEFAULT.

This is a follow-up to the discussion around
https://github.com/mozilla/geckodriver/pull/423.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2e0054b90ecf1acbe8b442af54441e3cc746933f

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

--HG--
extra : rebase_source : 0d5230475735d09d5e7220b8d8b7b91308074900
2017-04-04 17:42:28 +01:00
Marc Fisher 6a1acfc103 geckodriver: Improve firefox profile prefs merging (#423)
Merges prefs::Default prefs into custom profile unless the custom
profile explicitly sets that preference.

Sets the marionette.defaultPrefs.port preference last so users cannot
accidentally overwrite its value by providing it in capabilities.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 95ef3b49bc3fbeac231be22c19f06b7d14f6959b

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 2785f3dffdc222b9c8002e7f0e81f438b249683e
2017-04-04 15:02:09 +01:00
Andreas Tolfsen 5a6e3bf9bd geckodriver: capabilities: fix tests
This change makes the tests compile and makes use of the public typedef
webdriver::capabilities::Capabilities, which reduces the need for type
declarations of BTreeMap.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 68ca3639937721a5d8ab4c13b6de57fce669ecc9

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

--HG--
extra : rebase_source : 5239f9bfc26c808a5f11f5a8fe741213b73fa443
2017-04-03 14:18:26 +01:00
Andreas Tolfsen 16bc7f128f geckodriver: prefs: correct fixed array length
Fixes build.

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

--HG--
extra : rebase_source : c0e0b0e7d94c3d3e32db34880766a1921361334f
2017-04-03 14:02:30 +01:00
Andreas Tolfsen 777a31222a geckodriver: prefs: disable flash and plugin container (#590)
In the interests of avoiding the

	Aborting on channel error.: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2056

error we have seen frequently reported on geckodriver, this change forces
the Flash plugin to be disabled by default.  The Firefox homepage triggers
the plugin container to start, which is causing problems when quitting
Firefox through geckodriver.

Since Flash cannot be interacted with through WebDriver and it is soon
going away from the web, I don't think this is a big sacrifice.

Fixes: https://github.com/mozilla/geckodriver/issues/225
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6ec30ca4a37ca04b0bfab6faa87fbdb926710a8d

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : e104ed9d48d03a3e33da0226f3472eb3ee307e16
2017-04-03 14:00:18 +01:00
Ondřej Machulda 14e4bec245 geckodriver: Update required Selenium version to 3.3.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fd9bf452bbef423e579c6d3f4ed03e3c063b88ca

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

--HG--
extra : rebase_source : 87aa8909ee1f2a76a30bd32efd6d86800b8c1d39
2017-04-02 12:44:48 +01:00
James Graham de9a10973d geckodriver: Update for Window[Size|Position] -> WindowRect
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6d25d383048cbf5b38eeb786f70732be697ec0fb

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : eb453669c8ca32c67c9e3c41b69e0a481c8d4ff6
2017-03-28 16:22:54 +01:00
AutomatedTester 3348a7dc41 geckodriver: Merge branch 'rebase-553'
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9d76e0bd498263540fdaa4a8a18f084eb0dfd9bd

committer: Andreas Tolfsen <ato@mozilla.com>

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

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

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : eec91abc5dcab0f35cd758ad1900a5d15988bd0d
2017-03-27 19:39:21 +01:00
kirhgoph 34230c6dc4 geckodriver: Fix for "corrupt deflate stream" exception
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 74fb9c7ffbf6aa25d59452fe64791b9ffbd8cb79

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

--HG--
extra : rebase_source : afd8d8da8a7137bb40c9a6d26c68179f4db3b627
2017-03-24 16:35:48 +00:00
Andreas Tolfsen f22a0e8df0 geckodriver: changes: update version number
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e153cebbcdbb57d1b982f802020e9374ec413d1a

--HG--
extra : rebase_source : 60c4a3f18ef656378dd6284071ca702d2c6aec79
2017-03-09 21:18:56 +00:00
jgraham adfde1235f geckodriver: Make it clearer that Selenium is not the only client
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f3bbb57e119fb582b382ed80f081f617dd823f73

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 4066928056076326dd03f9dcf16b29568f66bb98
2017-03-09 14:25:33 +00:00
jgraham 14e0876e8f geckodriver: Mention required selenium version
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f6bfa90ac9ab576f06385ddac7f072d578f0c3c2

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 7ee883c8d2e8837b3726b94352c9351888e58766
2017-03-09 14:22:44 +00:00
James Graham bea0aabeed geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 11656587d1879ef858e865cb0c770075e1658e6c

--HG--
extra : rebase_source : d5c79b209b478e2c25765eebdd06b20402d8f84a
2017-03-08 11:34:04 +00:00
James Graham 57536267a2 geckodriver: Cargo update
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e1bb55d951df094ea748c30a7fc6c9b347bde746

--HG--
extra : rebase_source : a632a1c13639bab774358df775b8f1b04bae3456
2017-03-08 11:30:44 +00:00
Andreas Tolfsen 3c85ce025e geckodriver: changes: update for changes in webdriver 0.23.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1487a16227d7b45cec3fc18111673d824a47970c

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

--HG--
extra : rebase_source : 21b2dda3d9c71fc91d0b08524298af2a8977e271
2017-03-03 16:38:14 +00:00
Andreas Tolfsen 999b4513d4 geckodriver: cargo: upgrade to webdriver v0.23.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bee0209683503998ab7564de6a20eb8d1d41fa2c

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

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

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : d58aff61bd0af08e318bf65620cf51114fe8b630
2017-02-27 17:32:18 +00:00
James Graham 2822408bdf geckodriver: Print the binary args when starting the browser
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1c8b27a4379a92f56b6d11d889a636424e9852b8

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : b39097aabcf03030111006c4d3b1398456639458
2017-02-27 17:32:18 +00:00
James Graham c867008baa geckodriver: Pass a slice of extension routes rather than an &Vec
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6d946b86decbda25cd3c06acc12284be9a1dc0bf

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 0f24174ff5109a8b3cfc62d119de3b0ab6d43c05
2017-02-27 17:32:18 +00:00
Andreas Tolfsen 55c366fde3 geckodriver: marionette: add Get Timeouts command
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 140ab5a897d16d01418fc8aff94ae580eef49f2d

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

--HG--
extra : rebase_source : 2515f67c547c9d09b295f87f1bc7828b8b3a1ff2
2017-02-24 17:44:11 +00:00
Eric Garrido f249bfacb0 geckodriver: Fix u64 type in cookie expiry error string (#464)
This is a trivial copy-and-paste error from a few lines above.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1144fee2461186e9f270e4f4135f166df2c58da1

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 807c62892e6dea61b6365c220a2ddef45f2a3bc3
2017-02-10 17:08:02 +00:00
Andreas Tolfsen 498fbf1a31 geckodriver: Merge branch 'newtabpage'
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a927a87c3328ad0eabbe98c9ed132769dfce737e

--HG--
extra : rebase_source : 7e0e60af11f7c6692ba185d81aa7b5e58704a9e7
2017-02-01 14:52:15 +00:00
Andreas Tolfsen 2e06093f21 geckodriver: cargo: bump version number to 0.14.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a49be92cc43391168fe89e833135b4d57fa5a3e8

--HG--
extra : rebase_source : e3bc625479e8b85215878f892d75e8aebd3a5ac7
2017-01-31 17:07:17 +00:00
Andreas Tolfsen 2a7bb71da2 geckodriver: changes: update
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8077ee81cec9b39e2e6a47eaee2f82f6e0991ad7

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

--HG--
extra : rebase_source : 9da10c1963b6df8fda8542d48f6f04dbde198ca8
2017-01-31 17:02:28 +00:00
Andreas Tolfsen dc6c095dbc geckodriver: cargo: update dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d7d9ac65061f5ac4940751ec42bdaf488278ced7

--HG--
extra : rebase_source : 2d54097afe299bba37043c2ac27ca7f2329443d5
2017-01-31 17:01:54 +00:00
Andreas Tolfsen 42e6702c3c geckodriver: cargo, geckodriver, marionette: upgrade to webdriver v0.20 (#448)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6c161a2fe3cff818bcb5cf30cee92256229926de

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : de2246bbe0a2f177ea11a7264622184bbd96b481
2017-01-30 17:15:47 +00:00
thc202 81a611cd82 geckodriver: Fix typo in issue template (#441)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1a4cca85d0350d503b08e2833f8684da8b8706b1

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

--HG--
extra : rebase_source : 793ca7533d6c33d15a15cbe416bd71765b687435
2017-01-19 21:51:44 +00:00
Andreas Tolfsen 160c6f7ffa geckodriver: cargo: update lockfile for 0.13.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6d793fbfdca84c34f8f14a668bc0c8cd28288398

--HG--
extra : rebase_source : 9fcf1b3d31be99230c47d8e30d0ab3c48d3e485f
2017-01-09 16:20:47 +00:00
James Graham 3b62ee0a72 geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 008f5fc67278e98478fe846e39b4b3bb57106d1b

--HG--
extra : rebase_source : 7d9c936f9ab4cab4d39c1660fa136da0e79c1a91
2017-01-06 17:55:39 +00:00
James Graham fbb4335ad1 geckodriver: Update dependencies.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1d0a16f044a36892ed4ac3b6321906bc534e2cc4

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

--HG--
extra : rebase_source : be91294ad7e84150c2172e2c75bb297df6f68a87
2017-01-06 17:44:18 +00:00
James Graham d130be03ec geckodriver: Update to webdriver 0.18
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: cd5b8279ecbb61ffdf20b58bfc1ee1ca6c5a4707

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

--HG--
extra : rebase_source : 2a96a6b09640be7e0c91daf46cd9675231867663
2017-01-06 17:44:18 +00:00
Andreas Tolfsen 6c6ea00aa8 geckodriver: changes: add all changes for version 0.13.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 168619ade8ad9326f4e2c5f2fd752c56ccb59de0

--HG--
extra : rebase_source : bb8cb891b0e47d14de906bd87cad9ceb54c349cc
2017-01-06 17:37:06 +00:00
Andreas Tolfsen b86dbb4447 geckodriver: cargo: bump version number to 0.12.0
Happy new year!

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 45f124564d90effe28973764241c750a724662fe

--HG--
extra : rebase_source : e3e3939ca1d138b3d3f035ef9ca93a36ee5bb091
2017-01-03 19:34:30 +00:00
Andreas Tolfsen 93edbd0e94 geckodriver: changes: clarified and linkified notes for 0.12.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 69a6c32c67c8627875b279372baa40c589cb41fe

--HG--
extra : rebase_source : 0d3c5e09ebc4bef2367d08167609833a4c9fddb4
2017-01-03 19:28:36 +00:00
Andreas Tolfsen 45d580fc32 geckodriver: changes: remove empty header under 0.5.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9995b64397c24df09cb43f238a55db556ffd9718

--HG--
extra : rebase_source : e83538665790cd4f487ca0aa03970f3ec93acfed
2017-01-03 19:22:53 +00:00
Andreas Tolfsen 31563775ca geckodriver: changes: add missing header under 0.6.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: ec9dbfaf0a0d8181a973af228d3ae159a03d99cd

--HG--
extra : rebase_source : e676d5a31b6f5093b43d2dae8244fd839686ccd3
2017-01-03 19:22:53 +00:00
Andreas Tolfsen 5bdc62ca1c geckodriver: changes: update for 0.12.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2c109771332d2d563088af7f6a7341b957650aea

--HG--
extra : rebase_source : 37621ecfdd1f16ebc0e78c24b9050fe3845367c9
2017-01-03 19:22:53 +00:00
Maja Frydrychowicz b0ce2fa92e geckodriver: Bump webdriver dependency to 0.17.1 (#416)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 0832fe7f567a031487103c882e828a37f0bd6ad0

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : ca6cb06c3d6138b7a1d9923d40f740fe623c2f88
2017-01-03 19:22:42 +00:00
Andreas Tolfsen 20b3cdc33c geckodriver: main: use exit code 69 to indicate that port is unavailable
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 7b3dde67fc20bccb74538025249cc41f0e76a1a1

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 848c94146ba668488e7c7e8ed6202087f1f2eb4e
2017-01-03 11:57:08 +00:00
Andreas Tolfsen d05b1e5d83 geckodriver: logging: use synchronous logging
Asynchronous logging through slog has the downside that its buffer does
not flush on flushing the system's stderr.

Using synchronous logging should not have any notable performance
downsides for geckodriver.

Fixes #401.

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

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : d810813995fb0b8bf9842b4bfc7e0ed74cc023df
2017-01-03 11:57:08 +00:00
Andreas Tolfsen 68039e258e geckodriver: readme: move usage above build instructions and expand
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2658357fe5531dc2c9305a0a2fd0f5f4542aac58

--HG--
extra : rebase_source : 965f23c0381acb887abf65fcf84b031f26f23b95
2016-12-19 16:30:42 +00:00
Andreas Tolfsen c872e01cba geckodriver: readme: link to firefox train overview and issue tracker
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 083d8ad144acb9ac8b0ec95afc27e8012a4bf5ae

--HG--
extra : rebase_source : 0ae80aaf620c0cd277a9953934aa84eff4ae6ca6
2016-12-19 16:30:42 +00:00
Andreas Tolfsen 6ef111644c geckodriver: readme: correct english
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2dbb490830f3bf32ffde9e86fce7f69c0b03629c

--HG--
extra : rebase_source : dc5856198ddde4ec05ce2082f1e878caadaa077d
2016-12-19 16:30:42 +00:00
Andreas Tolfsen f33434e969 geckodriver: readme: expand link to marionette automation protocol
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: ed8509639620d6dcb12eac1a9d5ef406a9c59997

--HG--
extra : rebase_source : 32a58dd2085ed1491af45ba745dde8af571174aa
2016-12-19 16:30:42 +00:00
Andreas Tolfsen f0c8803a58 geckodriver: readme: add mention of where official releases are made
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3398190ce3de235b9013fe346b8f689d0fceacc6

--HG--
extra : rebase_source : 2d4441d05a152b9893c740984d8fc15b2ba62d92
2016-12-19 16:30:42 +00:00
Andreas Tolfsen 432d8159d5 geckodriver: readme: clarify we do not support windows xp
Windows XP support will be dropped with Firefox 53 and as
https://github.com/mozilla/geckodriver/issues/392 made clear, the
ktmw32.dll (Kernel Transaction Management system) which geckodriver
relies on is only available in Windows Vista onwards.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 61284e0df7b7309530118cd09d3a57fa26c04d1a

--HG--
extra : rebase_source : b9077b408b1384a5b0fd2c5428883ea8357d1d03
2016-12-19 16:30:42 +00:00
Andreas Tolfsen 31bcbf2bbb geckodriver: prefs: sync with prefs used in mozilla automation
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2bfdc3ec8151c427a6a75a6ba3ad203459540495

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 4821f29e0a929eefce2be6189ecf1c9c6c26b179
2016-12-19 15:10:33 +00:00
Andreas Tolfsen 4f008f20cf geckodriver: readme: describe supported webdriver capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 5ac602ee37ca13f163ddc408715b2a7563a3b826

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 7ed7e430ec29da023b4a366a9b9a43100c162eb9
2016-12-19 15:00:26 +00:00
Andreas Tolfsen 1ca21cc240 geckodriver: readme: include capabilities example
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 7f6397f4355fa4645d19edb33ad2d7e47bad04a2

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : c41bd9b74661ce0600303f3307ce360a846e798e
2016-12-19 15:00:26 +00:00
David Burns 73645bddfc geckodriver: Add Contributing documentation (#368)
* Add Contributing documentation

When Pull requests and issues are opened, Github automatically links to
the contributing file so that people are aware of it. This hopefully
means that contributors will follow some of the rules.

* fixup! Add Contributing documentation

* fixup! fixup! Add Contributing documentation

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : e0ca0c9001286e4f27259023eee64d904caca06e
2016-12-19 14:59:33 +00:00