gcc-mingw-w64 is implied by gcc-mingw-w64-x86-64.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 5b29f6532c2f36b6badda4680b26212491f947f3
--HG--
extra : rebase_source : 2c6d5df06cc5ef271d1943d65f13abde0f556160
As of 2016-09-21 Travis started serving Ubuntu precise containers when
trusty was requested. This caused the x86_64-pc-windows-gnu build to
break, but we only noticed when building on custom Travis branches
because the geckodriver master branch used a cached Rust installation.
This change reverts the 64-bit Windows builds to run outside of the
container infrastructure, in which we can guarantee we are served Ubuntu
trusty with a sufficiently modern gcc to cross-compile.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c7b88abfec083f2ec434d887cc35ee9a39b8b439
--HG--
extra : rebase_source : 6eaa43cc16b5d5067b7ec981b3da12edf61f159c
We were using Rust beta as some features we were relying on were only
available there, most notably cross-compilation. Now that beta has been
rolled into stable, we are able to rely on the stable channel for most
of our targets.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3b80417e064e8725d5509e0d259dfec37b29f2ce
--HG--
extra : rebase_source : 45220dbe82940a9cd0737e3d83c496579c580532
This change makes it possible to set the TOOLCHAIN output variable which
will override the default toolchain defined in build.sh. If TOOLCHAIN
is not defined it picks the default, which is currently `beta`.
The change should not affect the current build configuration.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6687441892f1dd9ef85f91e5da112cbc3e0c9281
--HG--
extra : rebase_source : 80695c0340b8fee1b335ee739bad851af5f7c1b5
* replace log with slog
The default log library has the disadvantage that it cannot be
reinitialised. geckodriver needs the ability to set up the logger
again with a log level passed in with the `firefoxOptions.log.level`
capability when a new session request is made.
slog redirects calls to the log crate's `info!()`, `debug!()`, `trace!()`
&c. macros to a drain that we reinitialise when `logging::init(level:
LogLevel)` is called.
As this patch removes the env-logger crate, support for setting the
`RUST_LOG` environment variable is removed with this patch. The correct
ways to request a log level is to use the `-vv` or `--log LEVEL` flags, or
the `firefoxOptions.log.level` capability as described in the README.md.
This patch also fixes a bug where the capability log level would
override the log level requested by flag in `MarionetteSettings`, causing
subsequent WebDriver sessions to inherit the log level. For example,
if session 1 used `firefoxOptions.log.level` and session 2 did not,
it would reuse the level from before because `MarionetteSettings` would
not be reset.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bbdda6053ad15864393fe25bc067ad3668f9c047
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : 178fe69b0d0f46d57fd95dfe95af40884b3dfe29
When Firefox’ milestone from the last successful startup of the
browser is different to the actual milestone, it is assumed that an
upgrade has occurred. This causes the browser to be redirected to the
homepage override URL.
Setting this preference to `ignore` will cause the redirect not to
happen on upgrade. This is important in the case of Marionette because
it also seems to be used to open two tabs on launching Firefox with a
fresh profile.
This doesn’t quite fix#241, because there is still an underlying race
condition when starting Firefox with a homepage.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c0c5df59c9bf181d235ce2e50b36177ceab1758a
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : 181c60fa460d7d2bd2b1b7ec58212f99d61d1462
Add --webdriver-port argument back as a hidden alias
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 72c4a05273dbc898cd07643265b933ff61cee04b
--HG--
extra : rebase_source : 919b903294473889cac09b4ac91e95a2507d2abc
* disable additional welcome URL
The preference startup.homepage_welcome_url.additional causes problems with
official branded builds that has been known to break certain Marionette tests,
such as testing/marionette/harness/marionette/tests/unit/test_window_handles.py
and testing/marionette/harness/marionette/tests/unit/test_selected.py.
Many Marionette tests make assumptions about the number of open windows, and
this aligns the test environment of the officially branded builds to be more
similar to that of Nightly builds.
* fixup! disable additional welcome URL
* fixup! disable additional welcome URL
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c49e5cd908e059e4c4c116ed4ab21715f205b949
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : d0565009d15e781de317049541f47a52e53698cc
* fix shorthand verbosity flags
* allow firefoxOptions.log.level capability to control logging
The firefoxOptions.log.level capability may optionally be passed to the
New Session command, which will initialise the env_logger and override
the verbosity level requested from command-line flags or the RUST_LOG
environment variable.
When the flags are used these will from now on also enable the env_logger.
* remove default implementation for MarionetteSettings
* raise default log level to info
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2277355d9c7c542266d76884c406622d7d6ed24c
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : d0ea581f2e91a65de3a08c0b958c43c0565b37d2
Log listening host and port
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: acfde732fe4381e63b7e17664c92de9eb339ddfc
--HG--
extra : rebase_source : e05939d34e5abb0d39b6eb3d3a1776d7ecfc1d69
* incrementally improve the ui
Copying information is currently included in --help and this patch makes
it only appear when --version is invoked.
Futhermore, the error messages that are printed on invalid input are
made consistent.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 697f7f40f7ce50743729392cf2ebc33b763659f7
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : f134abd4ac91d60b7e190ddd82f518d10fc7801c
Switch to building with Rust beta
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c0c134fe611d77fdd6dfc4a85fa3a40e8caa9119
--HG--
extra : rebase_source : fef135ad05501d62bf707d51b21c2d0622c08de0
* add extension command for finding anonymous nodes
XBL has the concept of anonymous nodes that are not returned by the usual
WebDriver element-finding methods. However there are two Gecko-specific
methods of finding them; either by getting all the anonymous children of
a reference element, or getting a single anonymous child of a reference
element with specified attribute values.
This commit adds two endpoints corresponding to those methods:
/session/{sessionId}/moz/xbl/{elementId}/anonymous_children
to return all anonymous children, and
/session/{sessionId}/moz/xbl/{elementId}/anonymous_by_attribute
to return an anonymous element with the given attribute value, provided
as a body of the form:
{
"name": <attribute name>,
"value": <attribute value>
}
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e2a6c301dc0f1b55ba67942d85b84357300dbefc
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : rebase_source : 5dcd3d458cd0d5f56d52a310cdf3c1749544f0af
Change the format used for capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 38902f618fe435f134e3d73a98c9f074453bf9e3
--HG--
extra : rebase_source : 37db4bb63c1b0d90e9d2aacc3b4d27724e4d83e3