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

191 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen 045639d8dd geckodriver: ci: remove superfluous deb package
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
2016-10-03 20:39:54 +01:00
Andreas Tolfsen 031905e4a8 geckodriver: ci: build x86_64-pc-windows-gnu without containerisation
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
2016-10-03 20:37:29 +01:00
Andreas Tolfsen c2953a54d2 geckodriver: ci: use rust stable
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
2016-10-03 17:19:51 +01:00
Andreas Tolfsen 32f47cca35 geckodriver: print the cargo configuration once written to disk
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: eae799effcd34e750c370c76576d6d2cbea598bd

--HG--
extra : rebase_source : 4b0bead708fc7e7993171e2cef1b18e064068060
2016-09-30 17:56:53 +01:00
Andreas Tolfsen d7d162ff0b geckodriver: add i686-pc-window-gnu linker
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2afe5cd8e46bd889629ae9ea65157c00fbf7f8e8

--HG--
extra : rebase_source : 44e68bde3e0ab0259378f3f251c4afb65ed51d1a
2016-09-30 17:56:19 +01:00
Andreas Tolfsen 2adf3cce24 geckodriver: make it possible to override rust toolchain for individual configs in ci
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
2016-09-30 17:56:03 +01:00
Andreas Tolfsen c091124b15 geckodriver: Replace log with slog (#226)
* 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
2016-09-30 14:59:35 +01:00
Andreas Tolfsen 6fced0c0f3 geckodriver: disable homepage override url redirection on milestone upgrade
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
2016-09-29 16:38:52 +01:00
Andreas Tolfsen 1ccdce7b16 geckodriver: sort default preferences lexicographically
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f3c732acf655ef079a2040b995db4ce0eb0fa3b5

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

--HG--
extra : rebase_source : b688e96cfcaf6a932e6d673aa8afd2724069165e
2016-09-29 16:38:52 +01:00
Andreas Tolfsen d3cdc2dbed geckodriver: Merge pull request #235 from andreastt/webdriver-port-alias
Add --webdriver-port argument back as a hidden alias

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

--HG--
extra : rebase_source : 919b903294473889cac09b4ac91e95a2507d2abc
2016-09-21 23:41:26 +01:00
Andreas Tolfsen 36186890cb geckodriver: propagate webdriver::server::start error (#227)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 17d85c06dce4697e56c7cde01949adf8b4fb0265

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

--HG--
extra : rebase_source : c030b3fb369b94f8fd55e174b08bcf3aaa1bf99b
2016-09-13 16:54:53 +01:00
Andreas Tolfsen 2cf265da54 geckodriver: Disable additional welcome URL (#222)
* 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
2016-09-12 15:19:25 +01:00
Andreas Tolfsen f6dc56a653 geckodriver: improve changelog's explanation of new firefoxOptions capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f5c4181ed5018e79e1b27c18d7e9c87da5b6c82a

--HG--
extra : rebase_source : 761fa61253db2bb9ba7010be63305e687b505eb1
2016-09-07 17:41:51 +01:00
Andreas Tolfsen b17c679b68 geckodriver: derive Default trait for MarionetteSettings
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c01e49b1f87f7858131d3ca6c457983820c259a6

--HG--
extra : rebase_source : a31266e3466c34a4d393f4fef10146a3df0a35f1
2016-09-07 17:31:10 +01:00
Andreas Tolfsen 494cbea400 geckodriver: fix link to log options section
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 44e3fbb20021c5e9fc5c6cf8134f0615568f5a60

--HG--
extra : rebase_source : ab528f1c06cec947267d3ab899042741b2108ab9
2016-09-07 16:19:32 +01:00
Andreas Tolfsen 482564c733 geckodriver: Set log verbosity from capability (#217)
* 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
2016-09-07 16:27:59 +01:00
Andreas Tolfsen 8eb3e6d84e geckodriver: Merge pull request #218 from andreastt/print-listening
Log listening host and port

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

--HG--
extra : rebase_source : e05939d34e5abb0d39b6eb3d3a1776d7ecfc1d69
2016-09-07 15:50:00 +01:00
Andreas Tolfsen b82fef298b geckodriver: Use formal types for capabilities documentation (#219)
* use formal types for capabilities documentation

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

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

--HG--
extra : rebase_source : 334e4969600e6f9ea991017b6f9125be3bb4b95d
2016-09-07 11:52:31 +01:00
Andreas Tolfsen b8b0ff1a28 geckodriver: mention prefs capability change in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 0b2d50d8bf788e2c167014839fe1ba45cd2b48c0

--HG--
extra : rebase_source : d3a94f7bc782b86d486ae209f8c8c3798acd1235
2016-09-06 17:07:52 +01:00
Andreas Tolfsen 8cda89b866 geckodriver: avoid line break in type declaration in readme
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d0b416f3c33326aaae180589f8fc26ff8f05de61

--HG--
extra : rebase_source : f8f4c8fb0ea711e87806de992e5a55edac096d05
2016-09-06 17:06:18 +01:00
James Graham 44b8262400 geckodriver: Merge pull request #162 from mozilla/firefox_prefs
Add prefs capability to firefoxOptions

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

--HG--
extra : rebase_source : ef1ad3ceeea7f17330b5957763cb9cff24180e4d
2016-09-06 17:15:14 +01:00
Andreas Tolfsen 4a439d8da1 geckodriver: Incrementally improve the UI (#214)
* 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
2016-09-06 13:01:42 +01:00
Andreas Tolfsen e0a4b7ac36 geckodriver: fixup! update changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d8eac1a8bdde4833fda2ca8a2f0f88866ee3d147

--HG--
extra : rebase_source : 211cff7cab7fd802391454948744157d66f00ba8
2016-09-06 11:03:47 +01:00
Andreas Tolfsen ac6f0f524b geckodriver: update changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 649c7271206f5d3da80625b2cb478201f48ff817

--HG--
extra : rebase_source : fdc4acb547fec22b17085f61640acd2d2bbf8ee2
2016-09-06 11:03:03 +01:00
James Graham 90ef98cd1e geckodriver: Merge pull request #213 from mozilla/win32_docker
Cross-compile on win32 using Docker image from port-of-rust

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

--HG--
rename : testing/geckodriver/ci.sh => testing/geckodriver/build.sh
extra : rebase_source : 2549ca79b2acbe17e0807d3c1a339459397fc311
2016-09-06 11:07:10 +01:00
James Graham 390ed07f10 geckodriver: Merge pull request #212 from mozilla/travis_fix
Switch to building with Rust beta

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

--HG--
extra : rebase_source : fef135ad05501d62bf707d51b21c2d0622c08de0
2016-09-05 14:51:49 +01:00
Andreas Tolfsen 61093e5130 geckodriver: correct language in version string
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1805a0ccfe61092bbd71ed2e1c8bd513713cf905

--HG--
extra : rebase_source : 0a76ef1016606e44005efbc68087cbf57de34794
2016-09-01 13:59:50 +01:00
Andreas Tolfsen 643775e3ee geckodriver: add keywords to cargo config
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8fa43b0edf188c8f84cdeb883c42af7d9016511e

--HG--
extra : rebase_source : 8d86a28246d846440398198a64dc414579c16827
2016-09-01 13:46:47 +01:00
Andreas Tolfsen 440b4273f4 geckodriver: point to readme in cargo config
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 37621fad51c15562e49a0a89f128c1c1445cfef5

--HG--
extra : rebase_source : fdf954a4f12d8a04febabcefffdcbac429894221
2016-09-01 13:38:08 +01:00
Andreas Tolfsen 08bd2c9395 geckodriver: add me to authors
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 302b2c17475ce51bbe5a5e38fb966a9d3b952919

--HG--
extra : rebase_source : 109f99811b5d3594d05798087ae2c64d19ea4af6
2016-09-01 13:37:33 +01:00
Andreas Tolfsen d25dfb5cf2 geckodriver: correct repository link
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 815c54ec92e47941df77bbbe1ca64b8096ee8ee6

--HG--
extra : rebase_source : 5a3744877e8433393104523e579ee6097ff53082
2016-09-01 13:34:17 +01:00
Andreas Tolfsen 95c49c0fe7 geckodriver: Add extension command for finding anonymous nodes (#203)
* 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
2016-08-31 13:51:36 +01:00
Andreas Tolfsen 8aedb0de75 geckodriver: mention change to capabilities in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6e6335a492e34ae5025bc16714ca38834f8e9f31

--HG--
extra : rebase_source : 364e05aaaf53d1a955a596994c668c4b1a82a8d0
2016-08-22 17:18:35 +01:00
Andreas Tolfsen 005750adbb geckodriver: add link to rustup toolchain website
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fdf9fbebff651bac93e6beba3d3941c3447d64db

--HG--
extra : rebase_source : 56de8d6c103c4526a23dbb7a4fb6aa7927334c95
2016-08-22 17:15:49 +01:00
Andreas Tolfsen fbc3cffa95 geckodriver: fix phrasing of capability defaults
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 42b6c86adb7b79e72a48b89473b487fb031d2ec3

--HG--
extra : rebase_source : 103091d4fe9d570ca0826a905675773eb9e8514b
2016-08-22 17:14:56 +01:00
Andreas Tolfsen 8f36310ff9 geckodriver: fix markup in readme
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9d64b2f344e33497a5892f3218307b997bd8e000

--HG--
extra : rebase_source : 8bc8fbcb9d85494cbb28f95b7c793b7356f15160
2016-08-22 17:13:02 +01:00
James Graham 2cd07eccde geckodriver: Merge pull request #161 from mozilla/firefox_options
Change the format used for capabilities

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

--HG--
extra : rebase_source : 37db4bb63c1b0d90e9d2aacc3b4d27724e4d83e3
2016-08-22 17:18:05 +01:00
Andreas Tolfsen 69fe7f8e36 geckodriver: update dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9f73170ca476a22926b5af3532fb709cc62fbb81

--HG--
extra : rebase_source : d2c2a3fb942aa4507f2068ec2be8ccf392bf8fec
2016-08-12 17:32:10 +02:00
Andreas Tolfsen 7887f154c4 geckodriver: add pop-up block disable mention to changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 4bad959553915e2a6e54ea51b2d5ccc2c934deec

--HG--
extra : rebase_source : af21302894d7dd03564cfba6063420d7148793c0
2016-08-06 15:56:57 +01:00
Jason Juang b43ec6c52f geckodriver: Merge pull request #165 from juangj/popup
Disable pop-up blocker in the default profile.

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

--HG--
extra : rebase_source : c06ab0c8514feabca94883a230f81503472111a9
2016-08-06 15:56:17 +01:00
Andreas Tolfsen 888e0b8271 geckodriver: explain that e10s flag was removed in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: da1bee2b2db981646730fccd09650f87b0cbf8fe

--HG--
extra : rebase_source : 3e2094db8e0e0d09531bb6c30ee578ad38c32fff
2016-08-05 19:55:43 +01:00
James Graham dfa72fa267 geckodriver: Merge pull request #163 from mozilla/e10s_remove
Remove e10s command line option.

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

--HG--
extra : rebase_source : d1f70ff5d2387c11eadbc05b453782ea1818efda
2016-08-05 19:53:02 +01:00
jgraham 706fd47e9f geckodriver: Update README.md
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 773c87baa4183865a4907824b47737b50284c25b

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 0eea87ba1f6cdc59fc1c4a32fbddef2ee6ce596a
2016-08-04 17:04:00 +01:00
Andreas Tolfsen eda46a0bb3 geckodriver: Merge pull request #160 from andreastt/capsdoc
Document supported capabilities

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

--HG--
extra : rebase_source : 345251963aa5184341045dde7580c0a0d91bc1bc
2016-08-04 16:51:51 +01:00
Andreas Tolfsen dd5ac1e5a9 geckodriver: correct changes and point ouf e10s default change
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 06e93f481f7627a7bcebb7c0b7d68e9262cdfbc1

--HG--
extra : rebase_source : 476a1e6954764835364b6e30cd5f33b2ec2bd2cd
2016-08-03 15:34:20 +01:00
AutomatedTester 2f88395dc6 geckodriver: Bump GeckoDriver to 0.10.0 and update Changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1c2ec08cf02d6fa25796781d281487afcb0f8f99

--HG--
extra : rebase_source : 8993edf4bc1e45c0fec0fe0c7fe73c5e52744fac
2016-08-02 23:40:31 +01:00
Nik Nyby 1d6e35b83f geckodriver: Merge pull request #155 from nikolas/patch-1
grammar fix in readme

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

--HG--
extra : rebase_source : bbe287043d9f5e278c2328e253ab22df957ae4d6
2016-08-02 17:41:12 +01:00
James Graham 28cfdc0e3d geckodriver: Merge pull request #145 from mozilla/arguments_clap
Replace argparse with clap for arguments parsing.

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

--HG--
extra : rebase_source : 7981c1503792ac64a9d96bdf64644a18146574b6
2016-07-27 14:15:00 +01:00
Andreas Tolfsen f2c92ace04 geckodriver: add unreleased items to changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 41629b712c9febd4ccc25e84c7d69dc3f440e79f

--HG--
extra : rebase_source : 10eecf69ac5350d15dfca3e0ac4d96218eec4855
2016-07-07 18:15:23 +01:00
Andreas Tolfsen 4937814422 geckodriver: update changelog for 0.9.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 494d2ad8174566572cbb2d99098a5772801c16eb

--HG--
extra : rebase_source : 1cb0b201ac9780c129dbe30dfd2b6185fedd439e
2016-07-07 18:13:52 +01:00