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

535 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin f7fd4a1cd9 Bug 1387403 - Force quitting the browser if no session can be established. r=jgraham
In case the NewSession command fails due to errors returned
by Marionette, the browser has to be killed. This is necessary
because DeleteSession always requires an existent session, and
would fail in closing the browser. So the process would continue
to be alive.

MozReview-Commit-ID: 1llX4lPNYjN

--HG--
extra : rebase_source : 0da6529e2c09358c83760fc66c997db09665e304
2017-08-17 14:05:11 +02:00
Henrik Skupin 3b841dfe1d Bug 1387092 - Update geckodriver readme for proxyType 'direct'. r=ato
MozReview-Commit-ID: DKttdSJajcD

--HG--
extra : rebase_source : 3e47333f6fa196698b8cf77e1e64a0ff1e233070
2017-08-15 19:28:53 +02:00
Sebastian Hengst e95354daa8 Backed out changeset 32d34008eec5 (bug 1387092) 2017-08-15 19:07:57 +02:00
Henrik Skupin e33bba5063 Bug 1390486 - Add "dom.file.createInChild" preference to recommended prefs. r=ato
To allow geckodriver to create file objects in child processes, this
preference has to be set to true. As such it needs to be recommended
in Marionette and set as default preference for geckodriver.

MozReview-Commit-ID: 8bdbi5jH6Vc

--HG--
extra : rebase_source : cc8963d2b15357b6d1607854e978aa764fcbd42f
2017-08-15 17:47:15 +02:00
Henrik Skupin f0d69131d1 Bug 1387092 - Update geckodriver readme for proxyType 'direct'. r=ato
MozReview-Commit-ID: DKttdSJajcD

--HG--
extra : rebase_source : 9ab4f76b2ac59d9c07d3dded9c47eda5a9f72310
2017-08-11 18:58:18 +02:00
Sebastian Hengst 4b79f3b23a merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: mN7ThnGN3X
2017-08-10 17:20:12 +02:00
Sebastian Hengst 01f51a3571 Backed out changeset 85b4584e1a83 (bug 1384969) for dropping debug and trace output from Marionette. r=backout a=backout
MozReview-Commit-ID: Bc8BwL6aatK
2017-08-10 11:45:36 +02:00
Andreas Tolfsen 8104c26b91 Bug 1388365 - Vendor webdriver 0.29.0. r=whimboo
MozReview-Commit-ID: 3vhk9kfmDHD

--HG--
extra : rebase_source : 393c3ff983444bc8639d3ed94edce0b27dabe522
2017-08-08 15:10:55 +01:00
Andreas Tolfsen a68cdde16c Bug 1388365 - Upgrade to webdriver 0.29.0. r=whimboo
Upgrades the webdriver crate dependency to 0.29.0, which contains some
backwards incompatible changes for RectResponse.  This type has been
split in two, WindowRectResponse and ElementRectResponse.

The former type contains a new "state" field which is already implemented
by Marionette.  Because geckodriver is used with a range of earlier
Firefoxen, it defaults to "normal" window state if the field is not
returned from Marionette.  This is acceptable.

MozReview-Commit-ID: FRxppRVmiZl

--HG--
extra : rebase_source : 4a86659f337598bb4f5623c51f5df288c8a5dd69
2017-08-08 15:09:45 +01:00
Andreas Tolfsen 5f75a47a96 Bug 1388072 - Drop Marionette fallback prefs from geckodriver. r=automatedtester
The marionette.defaultPrefs.port and marionette.logging preferences were
removed in https://bugzil.la/1344748, which shipped in Firefox 54.
Because the next version of geckodriver (0.19.0) will only support
Firefox 55 and greater, it is safe to remove the fallbacks.

MozReview-Commit-ID: 4fhtoRasqyB

--HG--
extra : rebase_source : 0ac6dff0343efd66312a482f2be832e95013be48
2017-08-07 16:13:54 +01:00
Andreas Tolfsen b7b13729fe Bug 1387552 - Document pageLoadStrategy in geckodriver README. r=automatedtester
MozReview-Commit-ID: 7oR84Hm9njP

--HG--
extra : rebase_source : c445670978447f21d28a2388e6dfd08aa5d67ff6
2017-08-04 20:40:58 +01:00
Andreas Tolfsen 0ff114d334 Bug 1387552 - Order capabilities lexicographically. r=automatedtester
MozReview-Commit-ID: GBvz053VdEm

--HG--
extra : rebase_source : 6b664988db52b363dd6a84dc1460ce473b7bcaa1
2017-08-04 20:36:24 +01:00
Valentin Gosu 195f9f0987 Bug 1383831 - Upgrade rust-url to version 1.5.1 r=froydnj
MozReview-Commit-ID: L3j6K5dDWHi

--HG--
extra : rebase_source : 65b34e84139927f1c28dc38cf2a00a0c2902b975
2017-08-02 13:44:48 +03:00
Yangyi Peng f2b8c04562 Bug 1380936 - Add Minimize Window command to geckodriver; r=ato
MozReview-Commit-ID: Le6rAUMDjwe

--HG--
extra : rebase_source : 2120abbe4a4c57be3d669f02e29dc2ac03b1a90f
2017-08-01 11:42:58 +08:00
Andreas Tolfsen 14e01f9799 Bug 1384969 - Stop forwarding browser console output to stdout with geckodriver; r=automatedtester,jgraham
browser.dom.window.dump.enabled causes the browser console messages to
reach stdout, often confusing geckodriver users.

We don’t recommend this preference in the Marionette server, although
it is set in geckoinstance.py.  This seems appropriate to the Gecko
developer audience.

Use of the dump() statement will of course still be possible in chrome
level code.

MozReview-Commit-ID: 7s7WlV2COBQ

--HG--
extra : rebase_source : 146d81109dbc547bcd1aeafe1c13ff632e90b73f
2017-07-27 16:55:34 +01:00
Jason Juang b056ca7a99 Bug 1383931 - Accept base64-encoded addons in the addon install command. r=ato
This allows tests that use Geckodriver remotely to more easily install
addons. The base64 blob is written to a temporary file before being
passed on to Marionette.

MozReview-Commit-ID: DnaBqoXCj5

--HG--
extra : rebase_source : 0c3f37b65fcb47c5a1389348e34f19b98c8183d5
2017-07-24 15:43:05 -07:00
Andreas Tolfsen 2ec9000e7f Bug 1379482 - Release geckodriver 0.18.0; r=jgraham
MozReview-Commit-ID: LDb9G7srbcz

--HG--
extra : rebase_source : bd2592ba2827c7e775cda854f4e77807a784bded
2017-07-10 16:53:01 +01:00
Andreas Tolfsen 2775e687c8 Bug 1379482 - Update geckodriver repository address; r=jgraham
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory.  Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.

MozReview-Commit-ID: LmnviuC7Z9Y

--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
2017-07-10 14:47:17 +01:00
Andreas Tolfsen 6ce3ddca8d Bug 1379482 - Update geckodriver changelog for 0.18.0; r=jgraham
MozReview-Commit-ID: GRIJM8fEwts

--HG--
extra : rebase_source : 67f76fc3a5515c4c517904f75409eda46d050480
2017-07-10 14:37:20 +01:00
Andreas Tolfsen 27406dfcac Bug 1379482 - Upgrade mozrunner to 0.4.1; r=jgraham
Upgrades the mozrunner crate dependency by pinning it to 0.4.1.  With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.

This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.

MozReview-Commit-ID: 8emDKbiYd0S

--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
2017-07-10 16:52:41 +01:00
Andreas Tolfsen 3e285d3a48 Bug 1379482 - Update geckodriver README with -profile and -headless; r=jgraham
Overhaul of geckodriver's README to include more detailed information
about picking up prepared profiles from the filesystem using the args
capability in moz:firefoxOptions.  It also includes a short example
on running Firefox in headless mode, which is available on some modern
Firefoxen on certain systems.

Also updates build instructions now that geckodriver lives in-tree.

MozReview-Commit-ID: AoJtpULBctH

--HG--
extra : rebase_source : 3697262f7050778ee1bc81ff4c26d51bf2cf86d4
2017-07-10 14:32:36 +01:00
Andreas Tolfsen d0c2d63a7c Bug 1379482 - Add hgignore rules for geckodriver for parity; r=jgraham
Removes .version file ignore from .gitignore and creates a
testing/geckodriver/.hgignore rule file for parity with git.

MozReview-Commit-ID: HXgbLxeleAl

--HG--
extra : rebase_source : 8c1f919a77351378a580ab161e9660c5868e881f
2017-07-10 14:24:51 +01:00
Andreas Tolfsen b7dac93d57 Bug 1379482 - Sync geckodriver README with GitHub; r=jgraham
Upstream of changes made on GitHub.

MozReview-Commit-ID: 3GP1NwIDlwW

--HG--
extra : rebase_source : 72102f794fa11760ca70164ebb33a5c61a6d7edc
2017-07-10 13:41:46 +01:00
Andreas Tolfsen 4c3ba87cfe Bug 1372595 - Return single cookie for GetNamedCookie; r=jgraham
The GetNamedCookie command currently returns a JSON Array of one,
retained cookie, after it has removed the cookies that don't match by
name.

This is in violation of the WebDriver specification, which says it must
return the cookie serialisation directly.

MozReview-Commit-ID: 9yEiarEGBez

--HG--
extra : rebase_source : ec393eec712a6f957cee22d261bcd9ed13c6ec5b
2017-06-16 16:46:34 +01:00
Jan Beich 3b4550a1c2 Bug 1376411 - Update libc to 0.2.24 to get support for more Tier3 platforms. r=rillian
MozReview-Commit-ID: Ct1en8VPEWf

--HG--
rename : third_party/rust/libc/ci/docker/arm-linux-androideabi/accept-licenses.sh => third_party/rust/libc/ci/android-accept-licenses.sh
extra : rebase_source : d7a64cb5e65f1c76c786d3def9da8aa3903665bd
2017-06-29 13:09:29 +00:00
Andreas Tolfsen f931aa2ee1 Bug 1374977 - Log geckodriver version on startup; r=jgraham
MozReview-Commit-ID: 3DyRPpAXUPo

--HG--
extra : rebase_source : 7955c46e78be50b4e0c23565716f59b8f35df05e
2017-06-23 17:00:48 +01:00
Andreas Tolfsen 5c81559723 Bug 1375425 - Remove deprecated commands; r=automatedtester
The "timeouts" command could have been removed in Firefox 55, and
"quitApplication" can be removed with Firefox 56.

MozReview-Commit-ID: Fe7x8Yy0vSb

--HG--
extra : rebase_source : fc8b2c3c27f76a472cbdd8681efff06ca60e00f7
2017-06-22 10:42:55 +01:00
Phil Ringnalda 1d977147a3 Backed out 3 changesets (bug 1372595) for build bustage everywhere except Linux32 and OS X
CLOSED TREE

Backed out changeset 6d9081d16588 (bug 1372595)
Backed out changeset 65c71d2ef601 (bug 1372595)
Backed out changeset 5cbd77708cd9 (bug 1372595)

MozReview-Commit-ID: KXCLB1Rt0KN
2017-06-22 19:23:30 -07:00
Andreas Tolfsen 5a99ed9a0e Bug 1372595 - Return single cookie for GetNamedCookie; r=jgraham
The GetNamedCookie command currently returns a JSON Array of one,
retained cookie, after it has removed the cookies that don't match by
name.

This is in violation of the WebDriver specification, which says it must
return the cookie serialisation directly.

MozReview-Commit-ID: 9yEiarEGBez

--HG--
extra : rebase_source : ad4acfb9510354a86a0b604cacf32cfd5c4f8e5d
2017-06-16 16:46:34 +01:00
Andreas Tolfsen 4a968ad679 Bug 1375207 - Display hash from whence geckodriver came in --version; r=jgraham
Because we no longer can tag geckodriver releases in mozilla-central,
we need to include build information in the program itself.  In the
version information message displayed when passing the --version flag,
we now include the current tip's SHA1 and build date following the
version number.

This patch could be made simpler by dumping this information correctly
formatted into a text file in the output directory, but it was requested
in https://bugzilla.mozilla.org/show_bug.cgi?id=1374977 to also include
the version information in the log output, which means we need to access
it differently and in different places.

MozReview-Commit-ID: CbFQn7IV8ew

--HG--
extra : rebase_source : dcc38ba7b5f209e9878755d5d75b611e22b5253d
2017-06-22 16:28:18 +01:00
Andreas Tolfsen d27785f266 Bug 1375207 - Quench unused import warning for CookieResponse; r=jgraham
MozReview-Commit-ID: KMOlSXXyvuB

--HG--
extra : rebase_source : 23e312eb8f973263d8e6c996ca65ddab6cce2c66
2017-06-22 16:21:51 +01:00
David Burns 4691012f79 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : 137941518076a8d99e5b8c40ac67ad60d9f205b9
2017-06-19 15:42:25 +01:00
David Burns 94465e777c Bug 1371405: Update Cookie handling code to align with WebDriver crate; r=ato
Details of changes to WebDriver Crate can be found at
48e436df3f

MozReview-Commit-ID: 9rie1uA0JYO

--HG--
extra : rebase_source : 3f706585158f096f01a9580c46e5a84a7afad5a9
2017-06-19 14:43:06 +01:00
David Burns db0c64e004 Bug 1371405 - Move to RectResponse aligning with the WebDriver crate; r=ato
This uses the merged RectResponse from the WebDriver crate. It also moves the
types in the struct to floats which aligns with the WebDriver
specification as in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-rect
and in https://w3c.github.io/webdriver/webdriver-spec.html#dfn-window-rect

MozReview-Commit-ID: DWeXJEnc1p

--HG--
extra : rebase_source : 98df2263693aa639b34af35f38165a5ebccd6a4f
2017-06-13 15:23:32 +01:00
David Burns 81cba6ceef Bug 1371405 - Simplify window commands for matches and the data they return; r=jgraham
It removes the duplication between the various commands that return
a WindowRect response and places the validation in a single function.

MozReview-Commit-ID: IOMA5H23PFo

--HG--
extra : rebase_source : 748a96c0d291f0e7819139de85c153c3791bfeae
2017-06-08 18:03:53 +01:00
Sebastian Hengst c5ea7e6f4f Backed out changeset 6731e1742804 (bug 1371405) for failing webdriver/contexts.py | contexts.py::test_window_size_types. r=backout 2017-06-20 21:23:43 +02:00
Sebastian Hengst 2f986ef967 Backed out changeset 2165c3e795b8 (bug 1371405) 2017-06-20 21:23:14 +02:00
Sebastian Hengst 319bdce422 Backed out changeset 9f4ce21f8652 (bug 1371405) 2017-06-20 21:23:09 +02:00
Sebastian Hengst d4d94c196f Backed out changeset 010032851619 (bug 1371405) 2017-06-20 21:23:05 +02:00
David Burns 34d225aec8 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : c3b6cb7d0e2b7f7423d7880a936df52d081cd867
2017-06-19 15:42:25 +01:00
David Burns 7bbcd6f348 Bug 1371405: Update Cookie handling code to align with WebDriver crate; r=ato
Details of changes to WebDriver Crate can be found at
48e436df3f

MozReview-Commit-ID: 9rie1uA0JYO

--HG--
extra : rebase_source : b7e945410e5fa55e3bbfd5e3c8658f09255a57a3
2017-06-19 14:43:06 +01:00
David Burns 071842b226 Bug 1371405 - Move to RectResponse aligning with the WebDriver crate; r=ato
This uses the merged RectResponse from the WebDriver crate. It also moves the
types in the struct to floats which aligns with the WebDriver
specification as in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-rect
and in https://w3c.github.io/webdriver/webdriver-spec.html#dfn-window-rect

MozReview-Commit-ID: DWeXJEnc1p

--HG--
extra : rebase_source : fc38440da1b3cb49bb8bf35eae47f80c23f7e8bf
2017-06-13 15:23:32 +01:00
David Burns 5754ea5e10 Bug 1371405 - Simplify window commands for matches and the data they return; r=jgraham
It removes the duplication between the various commands that return
a WindowRect response and places the validation in a single function.

MozReview-Commit-ID: IOMA5H23PFo

--HG--
extra : rebase_source : 9e1845b06926940b851717c4cba9d0e82fb5306b
2017-06-08 18:03:53 +01:00
Carsten "Tomcat" Book 1293c83906 Backed out changeset 311c7c91fd52 (bug 1371405) for bustage 2017-06-20 16:04:58 +02:00
Carsten "Tomcat" Book b072ad331b Backed out changeset c8347eba0b64 (bug 1371405) 2017-06-20 16:03:50 +02:00
Carsten "Tomcat" Book 933487e39b Backed out changeset 3c648baf694f (bug 1371405) 2017-06-20 16:03:48 +02:00
Carsten "Tomcat" Book 3851092f35 Backed out changeset 289753493fdf (bug 1371405) 2017-06-20 16:03:46 +02:00
David Burns 4e394ad086 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : 080e3a35972079b86b03b731e83e5171c5918da4
2017-06-19 15:42:25 +01:00
David Burns 8cc37ae802 Bug 1371405: Update Cookie handling code to align with WebDriver crate; r=ato
Details of changes to WebDriver Crate can be found at
48e436df3f

MozReview-Commit-ID: 9rie1uA0JYO

--HG--
extra : rebase_source : 5457741bd94dc013a12c1bdd5446dfe988b65938
2017-06-19 14:43:06 +01:00
David Burns 0d131ff39e Bug 1371405 - Move to RectResponse aligning with the WebDriver crate; r=ato
This uses the merged RectResponse from the WebDriver crate. It also moves the
types in the struct to floats which aligns with the WebDriver
specification as in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-rect
and in https://w3c.github.io/webdriver/webdriver-spec.html#dfn-window-rect

MozReview-Commit-ID: DWeXJEnc1p

--HG--
extra : rebase_source : fc38440da1b3cb49bb8bf35eae47f80c23f7e8bf
2017-06-13 15:23:32 +01:00
David Burns 3241595101 Bug 1371405 - Simplify window commands for matches and the data they return; r=jgraham
It removes the duplication between the various commands that return
a WindowRect response and places the validation in a single function.

MozReview-Commit-ID: IOMA5H23PFo

--HG--
extra : rebase_source : 9e1845b06926940b851717c4cba9d0e82fb5306b
2017-06-08 18:03:53 +01:00
James Graham d4e2dbee64 Bug 1373216 - Add mach command for starting geckodriver, r=ato
MozReview-Commit-ID: 8hNAjT5db44

--HG--
extra : rebase_source : 7e97893526c238b7ee466a3f609cb41e76d2a690
2017-06-15 12:47:20 +01:00
Andreas Tolfsen 7666e0d215 Bug 1371707 - Fix Linux x86 packages on Travis for geckodriver; r=whimboo
It is not clear exactly why, but Travis will complain that gcc and
gcc-multilib packages cannot be installed because they are virtual.  The
working theory is that the virtual packages do not correctly resolve to
the concrete gcc-4.8 and gcc-4.8-multilib packages.

This patch fixes compilation of geckodriver on Travis, which we at the
moment use for releasing geckodriver.

DONTBUILD

MozReview-Commit-ID: H1zsUgDi7wO

--HG--
extra : rebase_source : 191f0d0719cbc23f92899f5ec342ed64dca79c66
2017-06-09 16:46:57 +01:00
Andreas Tolfsen 08a0518acc Bug 1371718 - Recommend Firefox 53 or greater for geckodriver; r=whimboo
DONTBUILD

MozReview-Commit-ID: 6fEh8cUdvSe

--HG--
extra : rebase_source : bb75ed1f822289c6c2d63cf2e2b3d32027e64b51
2017-06-09 17:24:11 +01:00
Andreas Tolfsen 7b471cd866 Bug 1371730 - Use release branch for build state badge; r=whimboo
DONTBUILD

MozReview-Commit-ID: 2S0pizNqa5z

--HG--
extra : rebase_source : 811f4bccea9faa898bf0246dd46a44cea6048954
2017-06-09 17:55:59 +01:00
Henrik Skupin 34e680df7b Bug 1369709 - Release geckodriver 0.17.0. r=ato
MozReview-Commit-ID: 9I4FM2TCBez

--HG--
extra : rebase_source : da4fb291067a585ae3e9d8f70be1b0ebd770908e
2017-06-07 20:45:18 +02:00
David Burns a7b15fe05b Bug 1370510: Implement Fullscreen Window command r=jgraham
This implements the geckodriver support for the Fullscreen Window command.
The API was introduced in the webdriver crate in
https://github.com/mozilla/webdriver-rust/pull/100

MozReview-Commit-ID: 3eIuLmGWl2x

--HG--
extra : rebase_source : 55b38b1ff2850d44b79270194874e7418d34a907
2017-06-07 12:42:30 +01:00
Julius Schwartzenberg b431e18ba0 Bug 1370597 - Dismiss basic auth dialogue implicitly; r=ato
Increasing the length of the network.http.phishy-userpass-length
preference will cause Firefox to not prompt when navigating to a website
with a username or password in the URL.

MozReview-Commit-ID: 4D20YXjl7LH

--HG--
extra : rebase_source : 6fab6cfbda948527241a3f85dc4f0dee01dc5c0f
2017-06-06 23:09:14 +01:00
Henrik Skupin 6ed7ad2776 Bug 1369708 - Avoid setting of default preferences by mozrunner. r=ato
Update dependencies for mozrunner (0.4) and mozprofile (0.3) to
stop setting default preferences by mozrunner. This will also allow
to overwrite all preferences now via the moz:firefoxOptions capability.

MozReview-Commit-ID: IU0oKzRnnfG

--HG--
extra : rebase_source : 7f8946f7e22af9beebaddc52c78d549ddc898c87
2017-06-02 14:40:29 +02:00
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
Andreas Tolfsen 05c34a4ad1 geckodriver: ci: add musl-tools dependency for i686-unknown-linux-musl
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 22b6a5ab60036f8ce04e737e36b1f98eab3a8937

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

--HG--
extra : rebase_source : 20b766df8829e32639f7fa2ef78157d72976c919
2016-12-11 19:45:37 -10:00
James Graham 46a2da0c19 geckodriver: Update package versions
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: be42f0e76c22510d009e0861a70f990af3cffa8e

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

--HG--
extra : rebase_source : 58bcaedbaf4ebcd65d57446d67a6a8f308cba5b9
2016-12-08 10:06:18 -10:00
James Graham fedbc39524 geckodriver: Implement dispatch of the new-style actions api
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3290c87162cdb2c9331f419204ee12ab507d93cf

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

--HG--
extra : rebase_source : d9ae7f52538f46b8e16452e32fd3b082e4c9bbf9
2016-12-08 10:06:18 -10:00
jgraham 3df2a2c6d8 geckodriver: Update ISSUE_TEMPLATE.md (#383)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1311fd24f2776c64686c5de899eaaff70addcb88

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : b8c55ae2138aa7cf2cde5a7c3c4ea10fd548c7b9
2016-12-07 21:44:14 -10:00
Andreas Tolfsen 87627a1fda geckodriver: main: correct indentation of app function
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 69e5b90aa5f565ffffdb26ed532155e2fa521144

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

--HG--
extra : rebase_source : 418c85873647dd6c3e7b361388cab7e78e64268a
2016-12-02 16:24:11 +00:00
Andreas Tolfsen eca5be7394 geckodriver: main: make webdriver-port arg an alias and not hidden
clap 2.14 introduced aliased arguments, which means we can remove the
workaround using a hidden argument.

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

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

--HG--
extra : rebase_source : 028e314aba6e67db1343467b0b348c356412718f
2016-12-02 16:24:11 +00:00
David Burns 29e777e306 geckodriver: Update Issue template asking for more information (#374)
Template asking for OS, browser version and expected results. Also
added a warning that if information is missing that we will close
the issue until it has been added.

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

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : d6689fa33c9bc108361ec8909c03e25998073500
2016-12-01 11:59:53 +00:00
Andreas Tolfsen a6eb04fe86 geckodriver: cargo: update lockfile
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9ccd512ed6dbcea4ada29ecfb35c9c68d987b9c0

--HG--
extra : rebase_source : 07847ab437b4649dae1d2c667c8e0d657119eff8
2016-11-23 10:57:19 +00:00
Andreas Tolfsen 32df7e6e78 geckodriver: marionette: use session not created errors when failing to start browser
WebDriver doesn't distinguish between the geckodriver and Marionette
implementations when making a call to New Session.  When failing to
start a session, we should return session not created errors.

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

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

--HG--
extra : rebase_source : 120fdb7c8306a213c051f3df6b327f49154d9153
2016-11-23 07:35:36 +00:00
Andreas Tolfsen 70c0123149 geckodriver: marionette: improve browser start logging
This change removes the newline character in error messages related to
setting preferences and starting the browser process as these tend to
make error messages in language bindings look more interesting than they
should be.

It also avoids calling `Error::description()` as this is implied through
the display trait implementation of `Error`.

For `PathBuf` we must apparently call `display()` to invoke its
`fmt::Display`` trait implementation.

The remaining code in `start_browser` is linted with rustfmt.

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

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

--HG--
extra : rebase_source : 3b177cae58c67837fc5196311167c398af273452
2016-11-23 07:35:36 +00:00
James Graham 846a8c1adc geckodriver: Add response for status command
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3dbe0a93a7ec7525ed6907f853fc6b6af7564a7e

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

--HG--
extra : rebase_source : 2cd60d69e2064bfbe756a13b8753045518677c04
2016-11-22 19:00:01 +00:00
jgraham 36aec194b7 geckodriver: Add placeholder support for Get Timeouts command. (#357)
This is not yet supported in marionette so return unsupported operation for now.

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

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : a474e27c39dffb30a8d4ef851d740773b67413ee
2016-11-22 19:57:10 +01:00
jgraham 1177d31cf0 geckodriver: Update for extension API changes in WebDriver (#358)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 94c0661716a95cac99be445816af333bceeeb7cc

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : f32244a94bb0c206e5b9a10e62b9e61cfa3c0cf7
2016-11-22 19:55:53 +01:00
James Graham 21bb8ef44d geckodriver: Update dependencies, including fixing backwards-incompatible change in slog.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: badd8ac1701d648ef4e443e7e65ff003fee01ef8

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 47fa6fb8b50097c4710a468ab435f41e65d19dd7
2016-11-22 19:55:42 +01:00
AutomatedTester 3f8cd98a99 geckodriver: Adds TakesElementScreenshot
This is already available in Marionette. This allows us to call Marionette
from Selenium to take screenshots of elements.

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

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

--HG--
extra : rebase_source : b73deed5b7ea1b4de94a402453b5427f96510204
2016-11-22 14:11:33 +00:00
AutomatedTester 25bdc483b2 geckodriver: Update Close to CloseWindow to match WebDriver-Rust
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2201a80b825b77aa5298d79a92ad06ed0b4090e0

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

--HG--
extra : rebase_source : 380b8a7908d87f550e752fa061868691bf88bdae
2016-11-22 14:01:31 +00:00
Andreas Tolfsen 53fd748dcc geckodriver: readme: log default changed to info for all builds
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6d42ff98b881e2245a4550f1b7a2009d6b0b2bf4

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

--HG--
extra : rebase_source : fa82fff4066d33d7d6ea05cdd56cb7f5f0453550
2016-11-21 14:01:22 +00:00
jgraham cac5e0f42e geckodriver: Add issue template (#352)
* Add issue template

* Update ISSUE_TEMPLATE.md

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 22fb59aa14bf5c7fa05ac47a580aa113a8a4a1dd
2016-11-18 11:45:33 +00:00
Andreas Tolfsen ee95efb19c geckodriver: changes: mention version bump
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: db09b28752f798ae526eecde9b0740dd359f49b2

--HG--
extra : rebase_source : 3dc36254cb3b613151b55751b5858bbdb213efe5
2016-10-10 12:43:21 +01:00
Andreas Tolfsen a0a3bdcd10 geckodriver: bump to 0.11.1 with correct version number
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e0dfb15c1001f04d5f8f35deddc367aea5d2ed28

--HG--
extra : rebase_source : 1a87ebd79d04d1f31c36e98f5575100e22007839
2016-10-10 12:32:42 +01:00
Andreas Tolfsen 2e74a41109 geckodriver: bump version number to 0.11.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 207df90952807e86c7df9936264d365c9fc8fb8a

--HG--
extra : rebase_source : a55c9bdf2b460b533a18fa2cf525bc884704599f
2016-10-10 12:32:22 +01:00
Andreas Tolfsen fea59451a2 geckodriver: changes: mark unreleased changes as 0.11.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c7e955af1ef01f001d9aa401e2f502dae72ee9e8

--HG--
extra : rebase_source : 8efed9328e58ac2715f98feb692b833d468e26f6
2016-10-10 11:33:51 +01:00
Andreas Tolfsen 53a095de5d geckodriver: changes: update before 0.11.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fb7d60b8749271b0f3a02f038e5ea745724fd62a

--HG--
extra : rebase_source : d12a6de8a645da369ff8de596e1e06406f7c0af2
2016-10-10 11:33:00 +01:00
Andreas Tolfsen a2a34f64ab geckodriver: ci: add i686-unknown-linux-musl target (#267)
Fixes #237.

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

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

--HG--
extra : rebase_source : b4ea88c92e83b0c40ae965ea41fc6661bfe60e1a
2016-10-10 11:37:12 +01:00
AutomatedTester 31150cff81 geckodriver: Currently Marionette does not return a value, we need to pass this on to the client
bindings.

See issue https://bugzilla.mozilla.org/show_bug.cgi?id=1282833

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

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

--HG--
extra : rebase_source : 3fc0bfeeb7549a839d1b4d29ab8ecdb626a3d9d7
2016-10-06 13:07:54 +01:00
Andreas Tolfsen a7fce87296 geckodriver: readme: no word break in types
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f91f41df3b642d8b97a54bf52e4ec76c783ef691

--HG--
extra : rebase_source : e5543de5a087f024f91c1e5be1e0c496f6ebfe9b
2016-10-05 17:07:01 +01:00
Andreas Tolfsen 8f33415a44 geckodriver: readme: no word break before object
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 58531dfaad8baad29f52136dc41b39d04ed55399

--HG--
extra : rebase_source : 1f460b652dc5c70de8ed68a7fe3c0eb049c3e71b
2016-10-05 17:06:18 +01:00
Andreas Tolfsen 5d01580819 geckodriver: Merge pull request #248 from andreastt/capabilities-docs
Reformat documentation of firefoxOptions capabilities

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

--HG--
extra : rebase_source : 3ed05734951d179f8b2de0efd1349c0b6590e818
2016-10-05 17:14:31 +01:00
Andreas Tolfsen 1586484272 geckodriver: Merge pull request #252 from andreastt/options
Move FirefoxOptions to new file src/capabilities.rs

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

--HG--
extra : rebase_source : cb1f7ea0f3b52220d0582eef9ceb09c387434c80
2016-10-05 17:11:57 +01:00
Andreas Tolfsen 41bec5f2c8 geckodriver: rename firefoxOptions to moz:firefoxOptions
See https://github.com/w3c/webdriver/pull/343 for further details on
extension capabilities.

Fixes #250.

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

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

--HG--
extra : rebase_source : bd8b3b67958cb7360a97b6f1a3aa324213757877
2016-10-05 16:52:07 +01:00
AutomatedTester df67785035 geckodriver: Align Send Alert Text property with Element Send Keys property
This simplifies the what we recieve from the local end and then how
we should process it.

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

--HG--
extra : rebase_source : 20db54e31642dd703c4a1058745059ecd0d063ef
2016-10-05 16:51:08 +01:00
AutomatedTester 9737146696 geckodriver: Implement SetWindowPosition and GetWindowPosition
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: cb1b7996d19f4884c697274a6379c8936e7e3772

--HG--
extra : rebase_source : 84fd92754df00fdd78f4f7f2101d6dae60f3fee9
2016-10-05 16:21:52 +01:00
AutomatedTester 808393b55b geckodriver: Upgrade WebDriver to 0.15
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d57b178132283b73529a7d44ad728dab144f24cc

--HG--
extra : rebase_source : 00cace832d339fe9a2fb25d1cc80c1fd0bc10d53
2016-10-05 16:21:52 +01:00
Andreas Tolfsen 6af5f0f1eb geckodriver: fix missing underscore in browser.startup.homepage_override.mstone pref
Thanks to @florentbr.

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

--HG--
extra : rebase_source : 38b6bc2cd3f382a9c7cb6f65e91469727c9de410
2016-10-04 14:36:12 +01:00
Andreas Tolfsen f6a6377949 geckodriver: ci: build i686-pc-windows-gnu in ubuntu trusty container
By setting up our own container we can share the build.sh file (almost)
fully between containerised- and bare metal builds.  The apt dependencies
needed are listed in i686-trusty/Dockerfile.

We build i686-pc-windows-gnu in a custom container because the Ubuntu
trusty VM provided by Travis does not have a sufficiently modern gcc
compiler.

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

--HG--
extra : rebase_source : a1d510b4f0a6e4e6d859b50a97617f1595d23903
2016-10-03 22:45:44 +01:00
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