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

376 Коммитов

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