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

325 Коммитов

Автор SHA1 Сообщение Дата
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