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

16639 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin cfdbf9979c Bug 937659 - Fix deserializing of page load strategy. r=ato
The patch aligns the steps for deserializing the page load strategy with
the webdriver specification.

MozReview-Commit-ID: GnVTnhVQVkG

--HG--
extra : rebase_source : c7796817fa6d0397b4821445dc3bd87853e0e509
2017-04-19 12:32:20 +02:00
James Graham 57367d9eb4 Bug 1363982 - Fix missing directories in moz.build, a=bustage on a CLOSED TREE
MozReview-Commit-ID: 1aGV5hth8sT
2017-05-11 19:08:20 +01:00
James Graham fdae3f6561 Bug 1364128 - Disable unstable wpt modules test, a=testonly
MozReview-Commit-ID: IgQunlPHunj
2017-05-11 18:01:48 +01:00
James Graham 08f0be2a98 Bug 1364124 - Disabled unstable indexeddb tests on win8-opt, a=testonly
MozReview-Commit-ID: KpZKYj0dmGV
2017-05-11 18:01:48 +01:00
James Graham 61efc53d14 Bug 1351890 - disable unstable service worker test on Windows only, a=testonly
MozReview-Commit-ID: BOGZMWVHnse
2017-05-11 18:01:48 +01:00
James Graham 79e6f3d9cd Bug 1363797 - Update geckodriver to 0.16.1, a=testonly
MozReview-Commit-ID: IkkjuATYbbl
2017-05-11 18:01:47 +01:00
James Graham 3c7b6c4f29 Bug 1363982 - Pass browser capabilities in alwaysMatch, a=testonly
MozReview-Commit-ID: FTmkGARaHOa
2017-05-11 18:01:47 +01:00
James Graham 8ae1f394a6 Bug 1363982 - Clean up fixtures for session creation in wdspec, a=testonly
[Cherry-picked from wpt]

This introduces two fixtures for creating a multi-test session and a
longlived session. For performance it is important that we don't
ordinarily create a new session for each test, but it's also important
that specific tests are able to create new sessions with arbitary
capabilities.

MozReview-Commit-ID: DNZCgmkrwvn
2017-05-11 18:01:47 +01:00
James Graham cb3c5fd799 Bug 1363982 - Update web-platform-tests expected data to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a, a=testonly
MozReview-Commit-ID: 64BfbLZKedo
2017-05-11 18:01:47 +01:00
Maja Frydrychowicz 6a2baa22bb Bug 1357590 - Add default button to pointer_up and pointer_down; r=ato
MozReview-Commit-ID: Ll7O3peSrme
2017-05-11 18:01:46 +01:00
Maja Frydrychowicz 4b64f1dcc1 Bug 1345653 - Add pause and click to actions client API; r=ato
MozReview-Commit-ID: 9yMUtEWt2tx
2017-05-11 18:01:46 +01:00
James Graham d7e6aa0db8 Bug 1318724 - Increase the HTTP connection timeout for WebDriver tests, r=ato
The 5s timeout was not enough for debug builds. I don't really see a
reason to use something other than the default socket timeout here.

MozReview-Commit-ID: Fm5lgSI3lFb
2017-05-11 18:01:46 +01:00
James Graham b598a77d59 Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly
MozReview-Commit-ID: KjIquC2PKKI


--HG--
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.https.html
rename : testing/web-platform/tests/WebCryptoAPI/digest/test_digest.html => testing/web-platform/tests/WebCryptoAPI/digest/test_digest.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.https.html
rename : testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.html => testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.https.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/browsing-context-_blank.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/choose-_blank-001.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/choose-_parent-003-iframe.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/open-in-_parent.html
rename : testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.https.html => testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.html
rename : testing/web-platform/tests/tools/LICENSE => testing/web-platform/tests/tools/wptrunner/LICENSE
rename : testing/web-platform/tests/auxclick/auxclick_event-manual.html => testing/web-platform/tests/uievents/auxclick/auxclick_event-manual.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcconfiguration-icecandidatepoolsize.html => testing/web-platform/tests/webrtc/RTCConfiguration-iceCandidatePoolSize.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html => testing/web-platform/tests/webrtc/RTCPeerConnection-constructor.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/iceGatheringState.html => testing/web-platform/tests/webrtc/RTCPeerConnection-iceGatheringState.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl.html => testing/web-platform/tests/webrtc/RTCPeerConnection-idl.html
2017-05-11 18:01:46 +01:00
Ryan VanderMeulen 8921035eb6 Merge m-c to inbound. a=merge 2017-05-11 09:33:18 -04:00
Shawn Huang 0deb22583d Bug 1362318 - Part2: Fallback override MIME type to application/octet-stream, r=baku
Set override MIME type to 'application/octet-stream', if type is not a parsable
MIME type.
2017-05-11 18:59:10 +08:00
Shawn Huang c5dd1dadc2 Bug 1362318 - Part1: Use text/xml as fallback response MIME type, r=baku
If response MIME type is the empty byte sequence, then set type to 'text/xml'.
2017-05-11 18:59:00 +08:00
Carsten "Tomcat" Book f40e5ddeb7 Merge mozilla-central to mozilla-inbound 2017-05-11 12:53:41 +02:00
Matthew Noorenberghe 9e10eadecb Bug 1361560 - Force experimental autocomplete pref on during wpt DOM interface test. r=jgraham,jessica
Since the pref is enabled for Nightly-only for now, have the WPT test force it on so that
it doesn't fail at merge day.

MozReview-Commit-ID: 3MCRRqBZ5CM

--HG--
extra : rebase_source : 74c0ff8edd109a055dcff65f9238ca2f82820536
2017-05-09 08:27:28 -07:00
Geoff Brown 3a19a212cc Bug 1361732 - Fix pip install for python3; r=jmaher 2017-05-12 15:18:49 -06:00
Geoff Brown 18ae4acf4b Bug 1361732 - Fix path to python3 manifest; r=jmaher 2017-05-12 15:18:47 -06:00
Geoff Brown 8c95173164 Bug 1361732 - Use custom PATH for python3; r=jmaher
Since we are running python3 from an embeddable zip installation, a
C runtime environment is required, on Windows. We manipulate the PATH
to pick it up from the firefox installation.
2017-05-12 15:18:46 -06:00
Geoff Brown aba10c6430 Bug 1361732 - Add package requirements for mitmproxy; r=gbrown
Originally authored by armenzg.
2017-05-12 15:18:44 -06:00
Geoff Brown 4b11645d09 Bug 1361732 - pip install support for python3 venv; r=gbrown
Originally authored by armenzg.
2017-05-12 15:18:42 -06:00
Geoff Brown 0699aef46b Bug 1361732 - Mozharness' Talos class to use the Python3Virtualenv helper class. r=aki
This is in preparation for using mitmproxy inside of a Python 3 virtual environment.

Originally authored by armenzg.
2017-05-12 15:18:40 -06:00
Geoff Brown e918288537 Bug 1361732 - Mozharness support for a second virtualenv using python3; r=aki
Currently Mozharness creates a Python 2.7 virtualenvironment with all
the packages needed for Mozharness to run plus any applications that
need to execute within it.

For Talos, we now need a second Python virtual environment for
mitmproxy, however, this package is for Python 3 and not
for Python 2 (perhaps it could have worked).

In any case, having the ability to support create Python 3
virtual environments will be handy. Specially since the approach
of creating virtual environments is not by using 'virtualenv /path/to/venv'
but by calling the venv module like 'python3 -m venv /path/to/venv'.

The initial implementation only supports a list of modules.
The following iteration will support requirement files and other
parameters needed for pip and internal pypi hosts.

Originally authored by armenzg.
2017-05-12 15:18:38 -06: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
btian bc058622e6 Bug 1351795 - part 2: Remove console.markTimeline. r=baku
MozReview-Commit-ID: EmbscFp9oD4

--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
btian c28f35b424 Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
MozReview-Commit-ID: DLoqGD5NDwt

--HG--
extra : rebase_source : 43b55175f9ba1671e8269a227078e205581c8f1c
2017-05-09 11:39:27 +08:00
Ho-Pang Hsu 2dd9be8b86 Bug 1290951 - Part 4.1: Add a new wpt test for extended bytecheck. r=bkelly
--HG--
extra : rebase_source : 028522a4ce49c350d3607aa2c3498c2fc2341bf2
2017-05-04 02:05:26 +08:00
Henrik Skupin 37b8ffef76 Bug 1368526 - Wait for the page to be loaded in a newly opened tab/window. r=ato
If a web page gets opened in a new tab or window, there is no way for
the navigate command to check the current page load status. Instead
we have to wait until the correct URL is getting reported.

MozReview-Commit-ID: JQhPXRgh5Ae

--HG--
extra : rebase_source : 9b60d62af5d4cec2c1a693e152510807165755ba
2017-05-30 11:25:21 +02:00
Dustin J. Mitchell 6e11c532d5 Bug 1357753: set correct virtualenv, python paths; r=jlund
The `remove_exes.py` config left mozharness searching for exes, but we do need
a path to tooltool, since it is not in $PATH.

MozReview-Commit-ID: I9gk8rNOmda

--HG--
extra : rebase_source : 9482321128b5d8da085bd38e088649c88ea6294c
2017-05-10 20:24:08 +00:00
Carsten "Tomcat" Book 2b422602d0 Merge mozilla-central to autoland + + UPGRADE_NSS_RELEASE
--HG--
extra : amend_source : a130945695f0bbb811857ae397853ba88bf86f5b
2017-05-30 11:55:06 +02:00
James Graham ab3298c9c4 Bug 1368341 - Fixup handling of file urls in mozharness, r=ahal
MozReview-Commit-ID: 7BpUFLZttsh

--HG--
extra : rebase_source : c1872911812628d97d8516916c44d36558e30b52
2017-05-25 14:08:03 +01:00
James Graham ba40cb0a5c Bug 1368342 - Add mozlog logger that goes via a queue, r=ahal
This allows subprocesses to log to a shared stream via a queue, so that we
avoid the overhead of a multiprocessing Lock around all log access, but still
avoid races where two processes try to log simultaneously. It's mostly useful
where one process is responsible for the majority of logging, but some messages
will be generated in child processes.

MozReview-Commit-ID: ABl6cvpb6qI

--HG--
extra : rebase_source : 5c749074c1646c7abb865a71b31b3056137ef398
2017-05-26 12:53:00 +01:00
Jean-Yves Avenard a621256e0b Bug 1362165: P12. Updated wpt expectation. r=gerald
New test will error until bug 1367993 is fixed.

MozReview-Commit-ID: KgyquX6klE8

--HG--
extra : rebase_source : 648acc98a863ed99f60ad2e5a88076b1676f4247
2017-05-26 23:26:15 +02:00
Jean-Yves Avenard fe6f8b56f7 Bug 1362165: Correct test. r=gerald
the durationchange event will be queued during the initialization segment received algorithm.
Only once the init segment has been fully processed will update/updateend be queued.

As such, the updateend event must be fired before being able to call appendBuffer once again.

MozReview-Commit-ID: GYQNOwWZ7DH

--HG--
extra : rebase_source : 2151dc8bd301b19c53b67e59f4f33746da59c7cb
2017-05-26 23:15:38 +02:00
Jean-Yves Avenard b1fcfd70be Bug 1362165: Add web platform test. r=gerald
readyState is supposed to be updated during MSE's Initialization Segment Received and Coded Frame Processing algorithm.
Only then would the appendBuffer operation terminates by queueing the update/updateend events.

These tests ensure that loadedmetadata and loadeddata are fired first.

MozReview-Commit-ID: BJ5gISQRA7B

--HG--
extra : rebase_source : 3b4956c360224caa50019a6286f0bc6c7f772f63
2017-05-11 10:43:25 +02: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
Andrew McCreight 9cc36bb50a Bug 1366023 - Explicitly import Services.jsm in a few content scripts. r=Gijs
MozReview-Commit-ID: 5HS9tXk3oa9

--HG--
extra : rebase_source : f63765ed9759073b00a66c35f07dbb11c1585326
2017-05-12 15:57:53 -07:00
Sebastian Hengst 0214e13efe Backed out changeset 2112c2dd7175 (bug 1360498) for line 369 in testing/marionette/puppeteer/firefox/firefox_puppeteer/api/software_update.py being too long. r=backout 2017-05-19 15:27:06 +02:00
Raajit Raj 21a5d387a2 Bug 1360498 - Added update snippet URL to failure in case of network issue r=whimboo
MozReview-Commit-ID: LWJoi8GheiF

--HG--
extra : rebase_source : cc418ea72f2a6b46da0032f41d46e5f48383bd3e
2017-05-12 21:44:57 +05:30
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
Andreas Tolfsen 3e5326f9db Bug 1362992 - Wrap implementation errors as UnknownError r=automatedtester
JavaScript errors that arise from the Marionette implementation are
currently wrapped as WebDriverErrors.  A WebDriverError is encoded with
a "webdriver error" error code, which officially does not exist in the
WebDriver specification.

To distinguish WebDriver errors from programming errors of Marionette,
this changes them to be encoded as UnknownErrors (error code
"unknown error").  This will make stacktraces coming from clients
easier to read, since it is clear that the error is not caught by the
WebDriverError-catchall.

MozReview-Commit-ID: A5HejTOgOp8

--HG--
extra : rebase_source : 7bd4f539954dd11973b2bd16c1bf4f4ea7b4a4d7
2017-05-08 14:01:30 +01:00
Henrik Skupin 0cd2f844e4 Bug 1364245 - Extend delay for slow loading resource testcase to prevent intermittent. r=ato
For debug builds a delay of 1s is too short. It means that a navigation
command will return when the readyState reaches interactive for an eager
page load strategy. But due to the slowness of the browser, the next
command could already operate on a complete readyState. Delaying the load
of resources is the only possible option.

MozReview-Commit-ID: D2je04Euwf0

--HG--
extra : rebase_source : d74f276d96cd5bd2301f9dac8866f9dadc6e2937
2017-05-12 11:44:17 +02:00
Andreas Tolfsen 3eb9ebace3 Bug 1363053 - Use Node.ELEMENT_NODE instead of magic number r=maja_zf
This patch removes the magic number and instead uses the ELEMENT_NODE
constant which exists on all objects of the Node prototype chain.
We already test that obj has a nodeType own property.

MozReview-Commit-ID: If9HIkBjCyN

--HG--
extra : rebase_source : 5b04727b53616c08bf74a4f3acb56c33d827d015
2017-05-08 18:58:47 +01:00
Andreas Tolfsen c9a2bed65e Bug 1363053 - Return JSON representation of return value r=maja_zf
According to a recent change in the WebDriver specification, we need to
return an object's JSON representation iff it exists.

The relevant specification prose change was made in
1ee4c61c11.

This patch causes return values that have a toJSON property that is a
function, to return the value of calling said function.

MozReview-Commit-ID: GpQNE9GpjCH

--HG--
extra : rebase_source : 7192bbd484cbaa4661f2442990082aefcdd1570b
2017-05-08 18:57:09 +01:00
Andreas Tolfsen a9505b4395 Bug 1363053 - Move element.fromJson/toJson to evaluate module r=maja_zf
This patch renames element.fromJson and element.toJson to
evaluate.fromJSON and evaluate.toJSON, respectively.

The JSON (de)serialisation code belongs more naturally in the evaluate
module, which did not exist when these functions were written.

MozReview-Commit-ID: FJGbjGD1kZ6

--HG--
extra : rebase_source : b2528f545c8213b06b9116299806d8ab8a875250
2017-05-08 17:05:20 +01:00
Wes Kocher 7546d6084a Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: CkxXpx4uM9o
2017-05-12 13:10:32 -07:00
Ryan VanderMeulen 3650b16bc1 Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-12 12:17:43 -04: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
Thom Chiovoloni f29506dfb7 Bug 1367567 - Allow non-mpc extensions when running sync's TPS tests r=markh
MozReview-Commit-ID: KqjGY0Wx7MH

--HG--
extra : rebase_source : f1bc4b63a0c513558ad4e8bc1c6b26a6096c4c74
2017-05-24 17:18:33 -04: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
Sebastian Hengst d9fe1a9412 Backed out changeset d58fda39820b (bug 1364594) for failing Marionette's test_window_maximize.py TestWindowMaximize.test_maximize on Windows 8 x64. r=backout 2017-05-17 17:54:47 +02:00
David Burns a83b408222 Bug 1364594: Exit fullscreen when Set Window Rect is invoked. r=ato
If the browser is in fullscreen mode and Set Window Rect is called
we need to exit fullscreen mode and then continue to manipulate the
browser.

As described in https://w3c.github.io/webdriver/webdriver-spec.html#set-window-rect
Step 10

MozReview-Commit-ID: 5ixhGOXVBE4

--HG--
extra : rebase_source : 984fd3f38c45cbbb1eaae35bd6dea17842bbc6a3
2017-05-16 12:38:11 +01:00
CuriousLearner 749f6ddade Bug 1298803 - Add test to quit Firefox via a shortcut; r=whimboo
MozReview-Commit-ID: 9z1u0gWj1Wf

--HG--
extra : rebase_source : 2be4e270068a03647fb3d48976006a6c3760042e
2017-05-11 22:09:36 +05:30
Andreas Tolfsen 92b7eebd99 Bug 1355890 - Infer identity box background-color by computed style r=maja_zf
The test for getting a CSS value off a chrome element relied on a
hardcoded expectation value.  To reduce future maintenance, it is better
to get the computed style value and compare it against what Marionette
returns.

MozReview-Commit-ID: 3FbPHGqNEpK

--HG--
extra : rebase_source : 91c0fe0e387152f4c8de1e21c5bda64108249e36
2017-05-15 19:22:13 +01:00
Andreas Tolfsen 81bcde8994 Bug 1355890 - Add remote-active system notification r=automatedtester,Gijs
Adds a new system notification, "remote-active", which fires
when the Marionette remote protocol becomes active.

MozReview-Commit-ID: 3Parr82Ch6I

--HG--
extra : rebase_source : 08e2388a067b1decdd6fb62ebef97798d4227faf
2017-04-27 23:18:26 +01:00
Andreas Tolfsen f71bcb075c Bug 1355890 - Add Marionette XPCOM interface r=maja_zf
This adds a minimal XPCOM interface to access Marionette as a service.
All it does for now is to expose whether the Marionette server is
running, which will report true when the TCP listener socket is open and
false otherwise.

This will be used in browser/base/content/browser.js to determine
whether or not to add a visual UX cue on newly started <xul:browser>s.

MozReview-Commit-ID: 4Q9Oy2B9GQ1

--HG--
extra : rebase_source : 350fc1281ff2aa58e8c0ec1566c55f033878e850
2017-05-12 18:13:25 +01:00
Andreas Tolfsen 4bf3b11bc0 Bug 1355890 - Namespace Marionette component r=automatedtester
The Marionette XPCOM component is currently called
@mozilla.org/marionette;1, but this change namespaces it under
@mozilla.org/remote/marionette;1 to indicate that it is a remote
protocol because not everyone will understand what that the own-name
"Marionette" means.

MozReview-Commit-ID: HwqAghsWA5W

--HG--
extra : rebase_source : 411c79cf201870a486cf5086e42a00a59d210c83
2017-05-12 18:14:38 +01:00
Blake Kaplan 9ba3914988 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : a42662d67f7eeca8bc5870d3c70c086abf582164
2017-04-26 17:52:20 -07:00
Blake Kaplan 0799207b81 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : dad9de683517b71a23cfdfd57222734f90588f1d
2017-04-26 17:08:32 -07:00
Henrik Skupin 67c8a43439 Bug 1361837 - Update restart unit tests to not activate sessionrestore. r=ato
The restart unit tests were using the preference browser.startup.page
with its value set to 3. This actually causes sessionrestore to restore
the session during the next startup. Given that there is a race condition
in retrieving window handles (bug 1363368) it's better to use another
default preference which does not trigger this behavior.

MozReview-Commit-ID: 4m7qHxgI504

--HG--
extra : rebase_source : d5e29c0357dfcbe8395681f57000a7a1db769178
2017-05-16 07:55:50 +02:00
Phil Ringnalda 30a91cb819 Backed out 6 changesets (bug 1328509) for Windows 7 failures in test_visited_reftests.html
Backed out changeset 8388d8c76fed (bug 1328509)
Backed out changeset 182a88607e08 (bug 1328509)
Backed out changeset 008efac7764b (bug 1328509)
Backed out changeset c2ce10b8bc37 (bug 1328509)
Backed out changeset 65bbc73c87aa (bug 1328509)
Backed out changeset e20d3d5170c2 (bug 1328509)

MozReview-Commit-ID: BSmqdFP1Zom
2017-05-24 22:12:53 -07:00
btian 6ca867236b Bug 1338166 - Remove "list" from <menu>.type's known values. r=qdot
Also set <menu>.type's default value as "toolbar" and
remove HTMLButtonElement.menu per HTML spec.

MozReview-Commit-ID: jE6TmmvWa5

--HG--
extra : rebase_source : f0ded9a69055777b9430aeb91b53fef1a43af8e0
2017-05-25 10:11:07 +08:00
J. Ryan Stinnett 3d8b73c8cf Bug 1328509 - Check failure patterns in assertSnapshots. r=xidorn
Several mochitests call `assertSnapshots`, which prints a reftest-like output
for use with the reftest analyzer.  Update these lines to check failure patterns
before printing, like the regular assertion methods do.

MozReview-Commit-ID: CfChoar7bp8
2017-05-24 21:20:07 -05:00
Mantaroh Yoshinaga fbe6893725 Bug 1363246 - Add w-p-t of font stretch's addition/accumulation. r=birtles
MozReview-Commit-ID: 8mA2HZkH55f

--HG--
extra : rebase_source : 7b71118c214cadc4798ff988541bd7e2b889a66e
2017-05-25 10:14:46 +09:00
Boris Zbarsky 7c6c40e506 Bug 1366032. Align IDL record to C++ conversion with the spec when Symbol-named properties are involved. r=qdot 2017-05-24 08:50:30 -04:00
Sebastian Hengst 33f89c1c0c merge mozilla-central to autoland. r=merge a=merge 2017-05-24 11:26:09 +02:00
Brian Birtles 4fa0e7ba55 Bug 1353202 - Use assert_matrix_equal to compare matrices in iterationComposite.html test r=hiro
MozReview-Commit-ID: 3WPwmX7EBvn

--HG--
extra : rebase_source : 0996addb556c7926227e317165c97a2e7057ca21
2017-05-24 11:14:35 +09: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
Wes Kocher 0070a44b21 Backed out 3 changesets (bug 469228) for being a possible cause of frequent test_animSVGImage.html failures a=backout
Backed out changeset 1431c80b02ef (bug 469228)
Backed out changeset 8d46046a7367 (bug 469228)
Backed out changeset 2e22c0308a7e (bug 469228)

MozReview-Commit-ID: AMRASDPCWu3

--HG--
extra : rebase_source : 46b5ee0f67ffeaec31e1ef379a2e86c20cdee989
2017-05-10 10:13:54 -07:00
Carsten "Tomcat" Book 455239782b Merge mozilla-central to mozilla-inbound 2017-05-10 15:30:44 +02:00
Kershaw Chang 96eb1c4a10 Bug 469228 - Part3: Prune all connection at the end of test, r=Waldo 2017-05-10 03:49:00 +02:00
Honza Bambas 70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Phil Ringnalda d2f197d1b9 Merge m-c to a CLOSED TREE autoland
MozReview-Commit-ID: AOUyvYh643g
2017-05-31 23:40:53 -07:00
Ryan VanderMeulen 242f4b304d Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-31 20:50:21 -04: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
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
Florian Quèze 4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Matthew Noorenberghe 903659e0dc Bug 1364334 - Rename "browser.formautofill.*" prefs to "extensions.formautofill.*". r=lchang
MozReview-Commit-ID: HT8zSS1s6hN

--HG--
extra : rebase_source : 9ef3966e610116f912af4c66daf2c5f37e0f84c4
2017-05-11 23:34:00 -07:00
Boris Chiou a2677748aa Bug 1364004 - Rename css-timing-1 to css-timing. r=birtles
MozReview-Commit-ID: 11F4V5orZIv

--HG--
rename : testing/web-platform/meta/css-timing-1/__dir__.ini => testing/web-platform/meta/css-timing/__dir__.ini
rename : testing/web-platform/tests/css-timing-1/OWNERS => testing/web-platform/tests/css-timing/OWNERS
rename : testing/web-platform/tests/css-timing-1/cubic-bezier-timing-functions-output.html => testing/web-platform/tests/css-timing/cubic-bezier-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/frames-timing-functions-output.html => testing/web-platform/tests/css-timing/frames-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/frames-timing-functions-syntax.html => testing/web-platform/tests/css-timing/frames-timing-functions-syntax.html
rename : testing/web-platform/tests/css-timing-1/step-timing-functions-output.html => testing/web-platform/tests/css-timing/step-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/testcommon.js => testing/web-platform/tests/css-timing/testcommon.js
extra : rebase_source : f4b79472792c6104d11358d6543117b0432ee255
extra : source : b4b9a91b6c17f0831e57f343f495598babc9d12f
2017-05-11 17:04:05 +08:00
Phil Ringnalda 6d6a1e36ef Merge m-c to autoland
MozReview-Commit-ID: 3yj3UmhKWDn
2017-05-11 21:47:36 -07:00
Wes Kocher a9e00345ce Merge m-c to autoland, a=merge
MozReview-Commit-ID: IPDj8kOq5ec
2017-05-11 17:43:27 -07:00
Gregory Szorc 4eb4448f3f Bug 1364196 - Ensure perfherder_extra_options always present; r=ted
Previously, only the mach resource metrics consulted
perfherder_extra_options. This resulted in many data sets tracking
values for distinct build configurations.

MozReview-Commit-ID: 6t5UaUUvHxT

--HG--
extra : rebase_source : aa832250bbbbe1ffb3e0288f1a9cde5c1399ff10
2017-05-11 13:28:38 -07:00
Gregory Szorc d36c1d463c Bug 1364196 - Clean up code adding "nightly" to perfherder data; r=ted
I like fewer lines of code.

MozReview-Commit-ID: 6WaOOCtubHX

--HG--
extra : rebase_source : 77e019826a17fc0587392456213d83f7334aadd1
2017-05-11 13:24:42 -07:00
Greg Mierzwinski 92afe39265 Bug 1348103 - Fix test_chrome_bookmarks.js error when collecting code coverage on linux64-jsdcov. r=Gijs
This patch first adds an argument to the 'do_get_file(...)' function call in 'test_chrome_bookmarks.js' that simply allows the 'chromefiles' folder to be non-existent if it does not exist. The 'CoverageUtils.jsm' file is then modified so that the import of 'osfile.jsm' does not interfere with any tests. So, it is now imported into the script after the test has completed. Two other tests have unwanted behaviour that cause code coverage collection to fail so they are also skipped through this patch.

MozReview-Commit-ID: H42HN1solkh

--HG--
extra : rebase_source : 82706778961cd5d7dee4f66eb691d8ec62bde365
2017-04-29 10:47:24 -04:00
Gregory Szorc 8197611538 Bug 1362164 - Remove mozharness code to print ccache stats; r=ted
I was going to inline "enable_ccache" into buildbase.py because AFAICT
its value is effectively "if not windows." However, I realized that
all this is doing is dumping ccache stats (something the build system
itself is in a better position to do because it actually knows if
ccache is enabled). Then I realized we don't use ccache directly
any more in automation because we use sccache (or at least that's the
way it should be).

Since there's no need for this ccache code in mozharness, this commit
deletes it. If we want it back, we can add the functionality to
`mach build`.

MozReview-Commit-ID: BrRi1QKe5l3

--HG--
extra : rebase_source : d25a2a159515e560aca3aa21c7a340af4b380859
2017-05-11 12:49:09 -07:00
Gregory Szorc a591e9ddf5 Bug 1362148 - Always collect build metrics; r=ted
Previously, mozharness defined a separate action to collect build
metrics. This required the script and/or config to define that
action.

Metrics collection for CI is important. So it should be enabled by
default.

This commit changes the "build" action/method to always call the
metrics collection function after successful build. References to
the "generate-build-stats" action have been removed because it is
redundant.

A side-effect of this change is we may generate build metrics where
we weren't before. This could lead to e.g. duplicate entries in some
Perfherder series. Let's see what breaks ;)

MozReview-Commit-ID: 42UQI5YQTMC

--HG--
extra : rebase_source : 3377c70c833f44ef280a4f81f9ae4a78edcee9cf
2017-05-04 12:28:52 -07:00
Gregory Szorc 3a0e8dc6b2 Bug 1362148 - Call generate_build_props() as part of build(); r=ted
Previously, this ran during postflight_build(). The magic postflight_*
methods are called automagically by BaseScript.run_action() and are
only called if the main action method didn't raise. So there should
be no functional difference with this commit.

The reason I changed this is that a subsequent commit will perform
metrics generation from build() and without the build properties
file loaded, at least the OS X 64 opt buildbot build doesn't have
packageFilename defines, which breaks metrics collection.

MozReview-Commit-ID: 54ftuQqGKVi

--HG--
extra : rebase_source : 0aa227592db8fee3c670795b0eee72ffc79862bf
2017-05-04 17:24:06 -07:00
Gregory Szorc 19b74721c5 Bug 1361912 - Don't invoke `mach build` through bash.exe; r=ted
Executing `mach build` through bash.exe was introduced by
5f379c98b962 / bug 1279011. Why, I don't know. Literally every
other invocation of `mach` in mozharness does it directly
or via a Python executable (the latter is necessary on Windows
since `mach` is not a win32 executable).

So, this commit removes bash.exe and executes `mach` via
Python like everyone else.

MozReview-Commit-ID: GFNUVbfHZdq

--HG--
extra : source : ca3dddda32b0274d2ed8d700527b2383da36be2c
extra : histedit_source : 5ed18555204cf1fb60ffbf18e13aac13408b4088
2017-05-03 18:16:58 -07:00
Gregory Szorc d401587884 Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted
The "python2.7" executable is always defined as sys.executable
in mozharness configs. This abstraction is not necessary.

This commit removes the "python2.7" executable from mozharness configs
and just inlines sys.executable instead.

MozReview-Commit-ID: 4xiEkoFwekr

--HG--
extra : source : a7a7eb83f9cbf1e6dda8472af8aa35fda2edff88
extra : histedit_source : 9075cf31c84937bbc0d05886ee8a5636de1c3c06%2C50f817f93d1436ff46c670b09321523b8c27ab55
2017-05-03 18:10:33 -07:00
Gregory Szorc f738c5cc51 Bug 1361912 - Resolve mach arguments in mozharness action, not in configs; r=ted
Every TaskCluster Windows mozharness config was defining an identical
executable entry for "mach-build." For something that's used exactly once
and is identical, this is not necessary.

This commit moves the login inline into the mozharness Python module.
It assumes that if MOZILLABUILD is defined that it points to a
MozillaBuild path and we should invoke mach through it using the
same mechanism that was defined in the config files.

This commit changes behavior on buildbot because it also defines
MOZILLABUILD but didn't define "mach-build" before. For whatever
reason, TC configs involved bash.exe from their moment of inception
(5f379c98b962 / bug 1279011). This commit restores consistency
between the environments.

I do question whether bash.exe needs to be involved at all. But that's
for another commit.

MozReview-Commit-ID: I5GXHRJ1Eq0

--HG--
extra : source : fa3f3b08ec2bd9932e675c979068cdef8a677127
2017-05-03 18:04:00 -07:00
Sebastian Hengst 78e68c86a9 Backed out changeset fa3f3b08ec2b (bug 1361912) for build bustage. r=backout on a CLOSED TREE 2017-05-11 21:40:55 +02:00
Sebastian Hengst 683dc39c8d Backed out changeset a7a7eb83f9cb (bug 1361912) 2017-05-11 21:40:15 +02:00
Sebastian Hengst 30c6bacec3 Backed out changeset ca3dddda32b0 (bug 1361912) 2017-05-11 21:40:11 +02:00
Gregory Szorc 173544809b Bug 1361912 - Don't invoke `mach build` through bash.exe; r=ted
Executing `mach build` through bash.exe was introduced by
5f379c98b962 / bug 1279011. Why, I don't know. Literally every
other invocation of `mach` in mozharness does it directly
or via a Python executable (the latter is necessary on Windows
since `mach` is not a win32 executable).

So, this commit removes bash.exe and executes `mach` via
Python like everyone else.

MozReview-Commit-ID: GFNUVbfHZdq

--HG--
extra : rebase_source : 5bf1344c6e14a80ab96e3768e4548fde9dba8693
2017-05-03 18:16:58 -07:00
Gregory Szorc d0c672ea27 Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted
The "python2.7" executable is always defined as sys.executable
in mozharness configs. This abstraction is not necessary.

This commit removes the "python2.7" executable from mozharness configs
and just inlines sys.executable instead.

MozReview-Commit-ID: 4xiEkoFwekr

--HG--
extra : rebase_source : 9562219737e4176e9d0d139fb5a14325ca12ed26
2017-05-03 18:10:33 -07:00
Gregory Szorc 6697de5961 Bug 1361912 - Resolve mach arguments in mozharness action, not in configs; r=ted
Every TaskCluster Windows mozharness config was defining an identical
executable entry for "mach-build." For something that's used exactly once
and is identical, this is not necessary.

This commit moves the login inline into the mozharness Python module.
It assumes that if MOZILLABUILD is defined that it points to a
MozillaBuild path and we should invoke mach through it using the
same mechanism that was defined in the config files.

This commit changes behavior on buildbot because it also defines
MOZILLABUILD but didn't define "mach-build" before. For whatever
reason, TC configs involved bash.exe from their moment of inception
(5f379c98b962 / bug 1279011). This commit restores consistency
between the environments.

I do question whether bash.exe needs to be involved at all. But that's
for another commit.

MozReview-Commit-ID: I5GXHRJ1Eq0

--HG--
extra : rebase_source : 8675da5a7324dda4bb866e956c5ab6fafe8231e4
2017-05-03 18:04:00 -07:00
Gregory Szorc 4bf96ca4b4 Bug 1361504 - Record compiler warning count in Perfherder; r=ted
`mach build` maintains a persisted database of parsed compiler
warnings. The database should be accurate for both clobber and
incremental builds.

Since we generally want to discourage compiler warnings in the build,
it makes sense to collect the number of compiler warnings as a build
metric.

This commit modifies mozharness to run `mach warnings-list` during
post-build metrics collection and report the number of warnings as
a Perfherder metric.

The alert threshold is set to 1.0, which I think means we should get
a Perfherder alert any time the absolute value of compiler warnings
changes. Of course, this won't catch instances where we fix 1
compiler warning and add a new one, not changing the absolute count.
But it is better than nothing.

MozReview-Commit-ID: CKPCeRGs6ot

--HG--
extra : rebase_source : 0846dfe56fb2c1b7cb9fcff8d2ec84ef2d98cf89
2017-05-03 20:30:50 -07:00
Dão Gottwald 9cc94f157a Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44

--HG--
extra : rebase_source : f033cadab35b56cf96f25786260853a8a5f9a1ed
2017-05-11 19:16:05 +02:00
Thom Chiovoloni 65e959c068 Bug 1357814 - Changes to sync's TPS tests to allow running from automation r=markh
1. Ensure we wait for browser-delayed-startup-finished
2. Parse the profile we're cleaning up from the cleanup phase name instead of
   using the selectedProfile.
3. Ensure that bookmark repair doesn't run randomly (this isn't necessary, but
   the repair code can make the actual reason for failure much more difficult to
   debug, and could probably cause a test to pass when it should not).
4. Add multiprocessCompatible flags so that TPS can still start in nightly (and
   because it is).

MozReview-Commit-ID: 98UvRoFOdzv

--HG--
extra : rebase_source : ff1f199eafdcc569cfdf9cb373ee4d059b37ec35
2017-05-05 14:54:03 -04: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
Edgar Chen f2d8a548a1 Bug 1264529 - Add wpt for img adoption; r=jdm
MozReview-Commit-ID: 35ulxlUdwgj
2017-01-18 18:59:13 +08: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
Mike Hommey b40c223d77 Bug 1356683 - Use new tooltool wrapper in AWSY jobs. r=chmanchester
--HG--
extra : rebase_source : d6886900951d0b26a43c6b5e1ff2dcb2cee5c81c
2017-04-12 18:01:46 +09:00
Mike Hommey 1074eac96a Bug 1356683 - Use new tooltool wrapper in mozharness. r=chmanchester
--HG--
extra : rebase_source : 89bba9b6bcab9b1b017537d6741a88deaa38f166
2017-04-12 17:48:18 +09: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
Joel Maher 7884e531f3 Bug 1364941 - fix flake8 issues. r=me
MozReview-Commit-ID: AreLgNy3mc7
2017-05-23 12:54:28 -04:00
Joel Maher 0f9b875e44 Bug 1364157 - do not run talos via sendchange unnecessarily. r=chmanchester
We have a few places that we have scheduled talos tests as part of a sendchange, but have since disbled those tests (android, linux32), or replaced with taskcluster (linux64, macosx).  This was discovered when artifact builds were scheduling all talos tests in duplicate for osx.

MozReview-Commit-ID: 6Ze4Ic0GQrY
2017-05-23 12:38:14 -04:00
Joel Maher 96866fd5a9 Bug 1364941 - add new talos tests with an active, but blank web extension to measure ts_paint and tp5o. r=rwood
MozReview-Commit-ID: 7NUhFgj6sF1
2017-05-23 12:38:05 -04: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
Henrik Skupin 517f62ad3a Bug 1352132 - Navigation unit tests have to wait for the page loaded in the newly opened tab. r=ato
There is a race condition for all navigation tests inside the setUp
method of the BaseNavigationTestCase class. The assert for history
items can already happen if the page hasn't been fully loaded yet.
As such a failure is thrown. To fix this we have to wait for the
page being loaded.

MozReview-Commit-ID: 9LbArVT9WqA

--HG--
extra : rebase_source : 0c64798893b64f66f39e7aca16db9b4423d78047
2017-05-08 21:18:24 +02:00
David Burns 26b4a70a73 Bug 1362990: Implement InvalidCookieDomainError in Marionette; r=ato
This implements the error Invalid Cookie Domain as described in
https://w3c.github.io/webdriver/webdriver-spec.html#dfn-invalid-cookie-domain
which is used in the Marionette Cookie Handling code.

MozReview-Commit-ID: EA8Zb03QcMo

--HG--
extra : rebase_source : 2084427475643e2be264cb90c13d674a18eb0bed
2017-05-08 17:08:41 +01:00
David Burns 2b14993449 Bug 1189749: Implement full screen support in Marionette r=ato
This implements the Full Screen method described in the WebDriver specification
(http://w3c.github.io/webdriver/webdriver-spec.html#fullscreen-window) as well as
tests for it.

MozReview-Commit-ID: GKec7GNE6rm

--HG--
extra : rebase_source : 92d427b40d6aeb760783e67d4796a56bb0dbc6cb
2017-05-08 16:41:35 +01:00
Henrik Skupin 4baa8cc9a2 Bug 1361983 - Extend page unload timer if flushEventLoop returns after beforeunload event. r=ato
In cases when the navigation trigger function returns too late and the
beforeunload event has already been fired, the page load currently gets
canceled. This happens because the page unload timer hasn't been set at
this time and the unbeforeunload handler doesn't extend its time.

With this patch a flag is used which indicates if an beforeunload
event already occurred, so when the pageunload timer notifies the page
listener the unload timer can be extended to 5s as expected.

MozReview-Commit-ID: FKK0oGEWijU

--HG--
extra : rebase_source : bf4342cfb439eb85cb87cad922054953e5cb97f3
2017-05-04 11:53:30 +02:00
Wander Lairson Costa 71ca8d56c2 Bug 1358188: Enable macosx64 opt tests on BBB. r=dustin,kmoir
Switch tests scheduling to buildbot-bridge.

MozReview-Commit-ID: GuksuAFCuHk

--HG--
extra : rebase_source : 31b9c856a28051101e2e16ed2612c3c17d6609f0
2017-04-21 11:19:41 -03:00
Iris Hsiao 0b748916e8 merge mozilla-inbound to mozilla-central a=merge 2017-05-08 11:11:20 +08:00
Wes Kocher 6cc5532059 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3HXDLRcpc9c
2017-05-05 14:20:47 -07:00
Ben Hearsum d27afef6b0 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - fix build configuration and signing of DevEdition-on-beta builds. r=aki,rail
MozReview-Commit-ID: 2oaCCHJWU8W
2017-05-05 16:56:57 -04:00
Boris Zbarsky f2d9eb6a36 Bug 1358469. Revert our web-incompatible change to rel=noreferrer targeting behavior. r=mystor 2017-05-05 13:20:42 -04:00
Carsten "Tomcat" Book fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Mike Hommey 0896160558 Bug 1356700 - Don't set MOZ_AUTOMATION from mozharness configurations. r=mshal
It is set at buildbot level since bug 1011352, and now at taskcluster level.

--HG--
extra : rebase_source : 163692a9581ac79b680cc229d5fe1d44423583ee
2017-04-15 07:36:04 +09:00
Iris Hsiao 76dc3f1ddf Backed out changeset 85bc6a5f7c73 (bug 1345990). a=backout
CLOSED TREE

--HG--
extra : amend_source : 277b042c5bca1a62d81359ea965e2da100f6eefd
2017-05-05 10:20:42 +08:00
Iris Hsiao c206e9ec3c Backed out changeset 34f24ca08fac (bug 1345990) for mochitest bc testing uncaught exception at BrowserTestUtils.jsm
CLOSED TREE
2017-05-05 10:20:29 +08:00
Sebastian Hengst 4d6b15c05a Backed out changeset cbd3b49c0c29 (bug 1345990) for failing M(c2)'s test_modal_windows.html on Android opt. r=backout 2017-05-06 11:29:09 +02:00
Sebastian Hengst 55ee875568 Backed out changeset 4cc80402cf1c (bug 1345990) 2017-05-06 11:27:33 +02:00
Blake Kaplan 331a401c00 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 4d22d07c6ccfb42718c65fd80cd8a0e20d02f72c
2017-04-26 17:52:20 -07:00
Blake Kaplan 17849d2e28 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : e3b31a5df25ac7df0c67ee35915a62169703e1af
2017-04-26 17:08:32 -07:00
Henrik Skupin 2c6b09cf46 Bug 1362528 - Let getWindowHandles and getChromeWindowHandles return list of strings r=ato
By the webdriver spec both commands have to return a list of strings for the
window handles. Right now those are numbers.

MozReview-Commit-ID: 5Gn624BaVI1

--HG--
extra : rebase_source : 400acb7a0cc4bc1b1bf09934959a63da1bb5a28c
2017-05-05 22:21:51 +02:00
David Burns 7d9e71c048 Bug 1361987 - Move setWindowRect to not return from a generator. r=ato
setWindowRect is using `return` from a generator which is not valid
javascript. This now populates the response before it is returned to
the client.

MozReview-Commit-ID: 6vSadp59Nrt

--HG--
extra : rebase_source : d642771dd2308c21d1e3398b7387b4ae4e5ffeea
2017-05-05 20:29:04 +01:00
David Burns eda4f81db7 Bug 1361987 - Move maximizeWindow call to not use a return in a generator. r=ato
The maximizeWindow call in Marionette uses return which is not valid javascript.
This change update the response that is then picked up by the server before
returning to the remote end.

MozReview-Commit-ID: JJzsTHba0AK

--HG--
extra : rebase_source : 8b64aa37c7391d60a9de3276cef89a5564bbcd37
2017-05-05 14:49:41 +01:00
Justin Wood a900ff41d5 Bug 1265537 - Adjust Windows TC Builds to generate simple package names, adjust tests to use them. r=grenade
MozReview-Commit-ID: AgCTrIMXEdd

--HG--
extra : rebase_source : 9e35daebc08d884bc0ed1235f832abd8309b9ffb
extra : source : 3bb90c64e2a86f92334bc0b9045ee1ff20e243e9
2017-05-02 22:16:21 -04:00
Carsten "Tomcat" Book 6ae9b7bb71 Merge mozilla-central to autoland
--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
2017-05-05 15:27:55 +02:00
Henrik Skupin 28439aac69 Bug 1362051 - Update tests have to set MOZ_MARIONETTE environment variable. r=ato,maja_zf
To allow update tests to use source builds of Firefox before bug 1355888
was landed, the MOZ_MARIONETTE environment variable has to be be
pre-emptively set. Otherwise Marionette will not be activated after
the update has been applied.

MozReview-Commit-ID: Hqb6SjYtOPR

--HG--
extra : rebase_source : 10f9b4d2545198fc95294381ec1db63f1445c736
2017-05-04 22:10:50 +02:00
Armen Zambrano G. cdf7027693 Bug 1362142 - Mozharness to distinguish Windows archictecture properly. r=aki
We currently use:
> '64' in platform.architecture()[0] # architecture() returns (bits, linkage)

Unfortunately, that is the Python binary byte size.
https://docs.python.org/2/library/platform.html
> platform.architecture(executable=sys.executable, bits='', linkage='')
>
>    Queries the given executable (defaults to the Python interpreter binary)
>    for various architecture information.
>
>    Returns a tuple (bits, linkage) which contain information about the bit
>    architecture and the linkage format used for the executable.

Instead we should be using machine()
> platform.machine()
>
>    Returns the machine type, e.g. 'i386'. An empty string is returned if the
>    value cannot be determined.

My sampling size:
* win10   - AMD64
* win7    - x86
* Linux64 - x86_64
* MacOSX  - x86_64

MozReview-Commit-ID: HVBRHUGP1J2

--HG--
extra : rebase_source : 729f581dfa8244e3055cc0c383760444850ccdfa
2017-05-04 15:16:50 -04:00
Dão Gottwald 39669a550b Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: EuM08mEhDqZ

--HG--
extra : rebase_source : 43fc0410045f0efe48db2ae14d56994a90bded5f
2017-05-04 14:26:32 +02:00
Armen Zambrano G. d9ebaa23e6 Bug 1361462 - Python3 support for Mozharness r=aki,rwood
This adds support for fetching Python3 zip files
for Talos for Windows 32-bit and 64-bit.

MozReview-Commit-ID: KpYXQrfwRBY

--HG--
extra : rebase_source : e31530c45ab24e98a2b0ac6d51d7956b204df5b0
2017-05-04 16:47:45 -04:00
Armen Zambrano G. d035037d96 Bug 1361462 - Mozharness' tooltool should create directories if missing r=aki
MozReview-Commit-ID: 5HjD7smfCZx

--HG--
extra : rebase_source : dc0c0654644a7b96b64c838a00d9bc34e7b58ef9
2017-05-05 09:10:07 -04:00
Armen Zambrano G. 855bc5a8c1 Bug 1361462 - Add tooltool_cache for Windows Talos jobs r=aki
MozReview-Commit-ID: LUNJuFMgwm8

--HG--
extra : rebase_source : a6c9f21aa8ef033d34f8ad18d54a803e25581760
2017-05-04 16:01:48 -04:00
Honza Bambas a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Justin Wood e1ab4d2be9 Backout Bug 1337861 (Enforce MOZ_BUILD_DATE) due to Bug 1360550. r=catlee a=catlee
Bug 1360550 resulted in the buildid the Linux builds had being different than the directory they were uploaded to. This had fallout affects for QA's firefox-ui tests and presumably anything using mozdownload.

MozReview-Commit-ID: 7xbEihhDF1N

--HG--
extra : rebase_source : 5b857887722e172695eb1f0fb12361fc89c24f80
2017-05-04 12:51:06 -04:00
Sebastian Hengst 1609e49868 merge mozilla-central to mozilla-inbound. r=merge a=fix-for-buildbot-bridge-on-osx 2017-05-04 17:49:38 +02:00
Wander Lairson Costa be9d05d81d Bug 1350413 part 1: move macosx64/opt build to buildbot-bridge. r=dustin
Because of bug 1338651, we need to stick to BBB macosx64 builds for now.

MozReview-Commit-ID: AwQc5r6ikUN

--HG--
extra : transplant_source : %97%1B%95H%D8L1%87%84h%F4%89%0D%283w%98%7E%2C%F4
2017-05-02 16:12:51 -03:00
Iris Hsiao e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Sebastian Hengst 532800137b Backed out changeset db9f3b377504 (bug 1054740) for failing Marionette's test_prefs.py TestPreferences.test_clear_pref, at least on Linux in non-e10s mode. r=backout on a CLOSED TREE 2017-05-03 23:15:56 +02:00
Wes Kocher 4e89a77541 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Wes Kocher 21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Nick Alexander 0bfebf0c87 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian,bustage-fix
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob
2017-05-03 19:20:58 +02:00
Sebastian Hengst fcaaea05db Backed out changeset 289c6a3f7886 (bug 1361545) for busting Android gradle builds. r=backout 2017-05-03 19:19:52 +02:00
Nick Alexander 571de094b3 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob

--HG--
extra : rebase_source : 477ef683f850ff11cfa128e17855666bb7758a7a
2017-05-02 15:27:37 -07:00
Dão Gottwald 1d352d917c Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: LhJDs9GSxuK

--HG--
extra : rebase_source : 96cb427ada78ee70368f6cb1d4cad4811681c454
2017-05-03 21:57:06 +02:00
Michal Novotny 133308dd0d Bug 1361435 - Remove references to unused pref network.http.bypass-cachelock-threshold, r=mcmanus
Removes references to now unused pref that was added in bug 868441 and removed in bugs 913807 and 1054572. It also removes some leftovers from http channel which have not been removed in those 2 bugs.
2017-05-04 17:37:42 +02:00
André Bargull f21754e0f3 Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier
--HG--
extra : rebase_source : 47be2308322e996fa8bef359d5f1b523fac9801e
2017-05-02 14:21:04 -07:00
Andrea Marchesini 40a6c939ee Bug 1330900 - Enable WPT for <script nomodule>, r=annevk
Enabling means set dom.moduleScripts.enabled to true
2017-05-04 10:24:13 +02:00
Andrew Swan 79a787c063 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : f83472bc1c88dd0deadbe485d9002499027ff07f
2017-05-03 08:02:51 -07:00
Henrik Skupin 891449384c Bug 1357634 - Use 'beforeunload' to detect a possible page load. r=ato
Using only the different unload events to detect a page load is
unreliable because of a possible delay in starting the navigation,
which could be triggered by a slowness of the application.

By using 'beforeunload', an event will be received much earlier,
and the unload timer can be extended to a couple more seconds to
wait for the navigation request to start.

If a website has it's own 'beforeunload' listener registered,
a tab modal dialog will be opened by Firefox, and Marionette
returns from the currently active command immediately to allow
the test to handle the dialog.

MozReview-Commit-ID: 6ZUYtFJSSnz

--HG--
extra : rebase_source : 3f7b9d9d0067ed7c65a3bb8774f0a5ae8bc702c2
2017-04-28 10:27:12 +02:00
Andreas Tolfsen c6333df5ad Bug 1355888 - Clarify that -marionette flag works cross platform; r=whimboo
Windows systems only accept singled-dashed -marionette, whereas Unix
platforms accept both that and double-dashed --marionette.  This makes
the documentation true for all supported platforms.

MozReview-Commit-ID: IG7ir2HVoHo

--HG--
extra : rebase_source : f3b2740e47f373e5f784d131f1844f82b4c56990
2017-04-13 15:22:40 +01:00
Andreas Tolfsen 29483db42b Bug 1355888 - Remove unused DEFAULT_PORT constant; r=whimboo
MozReview-Commit-ID: 3lkxXFM7Jz0

--HG--
extra : rebase_source : 2ee28babb8ef080542b7b16bbf2a6e9b852b1a9c
2017-04-13 15:09:30 +01:00
Andreas Tolfsen a0995b33db Bug 1355888 - Remove marionette.enabled pref from wptrunner; r=jgraham
MozReview-Commit-ID: IzASL0SBCsR

--HG--
extra : rebase_source : 2614e902138a6e370c024be0680458e61388d344
2017-04-13 15:09:11 +01:00
Andreas Tolfsen cf773b33a8 Bug 1355888 - Mark marionette.enabled pref in client as a deprecated; r=whimboo
To preserve backwards compatibility for in-app restarts using
Services.startup.quit(eRestart), we want to continue using the
marionette.enabled preference in the Python client until the patch
introducing the MARIONETTE environment variable (preceding this) makes
it into an official release.

This is due to the fact that the Marionette Python client is being
used for upgrade tests, and it is needs to stay compatible with all
release trains.

MozReview-Commit-ID: KstsJRu4lIP

--HG--
extra : rebase_source : 01a00549a9c8b57fd65aad8cd68ef04fdcca981d
2017-04-13 15:08:49 +01:00
Andreas Tolfsen 8216b2843e Bug 1355888 - Remove marionette.enabled pref; r=maja_zf,whimboo
There are no current use cases for starting and stopping the Marionette
server at runtime through a preference.  Since it is possible for
arbitrary addons to modify any preference, we are removing it to reduce
the potential attack surface for Marionette.

This effectively leaves only three ways of starting Marionette:
By passing the -marionette flag to the Firefox binary at startup,
setting the MOZ_MARIONETTE environment variable, and by calling
server.TCPListener#start(), which is an internal chrome API.

MozReview-Commit-ID: 9zKsV8ufySU

--HG--
extra : rebase_source : c0914f2ab99229d507830bbf9704e82bd83b1883
2017-04-13 15:08:14 +01:00
Andreas Tolfsen f67d69a55f Bug 1355888 - Add env var MOZ_MARIONETTE to start server; r=maja_zf,whimboo
This patch introduces a new environment variable, MOZ_MARIONETTE, which
if set will start the Marionette remote control server.  This is meant
to be analogous to passing the -marionette flag to the Firefox binary.

When the server is started, we set the environment variable to
preserve Marionette's enabled state across internal restarts.
When Services.startup.quit(eRestart) is called, Firefox is restarted
without the original command line flags it was started with, which means
we lose track of whether Marionette was enabled.  By setting
MOZ_MARIONETTE in-process, we preserve the knowledge of this state.

This approach is in line with how state is preserved across in-app
restarts in toolkit/xre/nsAppRunner.cpp:4761 (XRE_PROFILE_*), and for
how MOZ_APP_RESTART and XUL_APP_FILE works.

MozReview-Commit-ID: Dcb34m6FoZh

--HG--
extra : rebase_source : 98515c702dfd8eaad01f7eab06d33124ce14b15c
2017-04-15 01:50:29 +01:00
Julian Descottes 3953540654 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf

--HG--
extra : rebase_source : 6fc322700f3d2113c813f2a33c09abc3ba865405
2017-05-02 22:56:40 +02:00
Gregory Szorc abd52a84b9 Bug 1361436 - Emit build stats immediately after build; r=ted
The "generate-build-stats" mozharness action collects a bunch of build
system metrics, including build_resources.json, ctors count, and
installer size and reports them by writing special messages that
log parsers read.

Before this commit, this mozharness action occurred sometime after
"build." But relative ordering to other actions was not consistent
and appears to be significantly cargo culted.

4e61e69a383c (bug 1304508) changed the "check" mozharness action to
invoke `mach build check` instead of `make` directly. An unintended
consequence of this is that `mach build` replaced the
build_resources.json file from the build itself with one measuring
`make check`. This made the "build time summary" metric take a nose
dive.

This commit works around the issue introduced by 4e61e69a383c by
reordering the mozharness actions so "generate-build-stats" follows
immediately after the "build" action. Not only does it now occur
before the "check" action, but it also occurs before uploading and
other actions.

I'm not sure why "generate-build-stats" is its own action and not
part of "build" itself. As the diff shows, numerous instances of
"generate-build-stats" are commented out, which means we aren't
collecting metrics. "generate-build-stats" is also missing from a
handful of mozharness configs, including Windows Clang builds. I'm
not sure what the history is (it is likely varied and almost certainly
involves a fair amount of cargo culting), but I think it is a bug that
we aren't collecting build metrics for every build. I would like to
fix this. And moving "generate-build-stats" immediately after "build"
should make that transition easier.

MozReview-Commit-ID: 7jNTVWRvMnh

--HG--
extra : rebase_source : 0b5fd1f462caa5c283ba7e1b693fdc5b8b948add
2017-05-02 14:32:52 -07:00
Jessica Jong 6469b8fbc1 Bug 1358448 - Add wpt for cases when moving radio out of or into a form. r=smaug
MozReview-Commit-ID: AdXVNfg1eyw

--HG--
extra : rebase_source : 53b31c45f9f3ce11b9d5ad68f464ccd9e21bc197
2017-05-02 23:01:00 +02:00
Wes Kocher e141e24ffb Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1peTFbNMVnU
2017-05-02 17:38:11 -07:00
Wes Kocher df3f95a52f Merge inbound to m-c a=merge
MozReview-Commit-ID: 4SpokMW1d3I
2017-05-02 17:35:06 -07:00
Henrik Skupin 036c6138ff Bug 1361302 - Fix clicks.html to not trigger a double navigation for history navigation. r=automatedtester
Our click + page load implementation doesn't handle complex navigation
scenarios yet. As such those should not be triggered inside our unit
tests.

MozReview-Commit-ID: Cog5vohttes

--HG--
extra : rebase_source : 7068483f041ab1895ecc921f377da9bfd420ec23
2017-05-02 16:33:25 +02:00
Sebastian Hengst a71bcd1f3c Backed out changeset 46dd4a4338a1 (bug 1352204) for timing out Talos suites g2, o and s. r=backout 2017-05-02 20:19:17 +02:00
Wes Kocher 9a6937d9cb Bug 1361417 - Update moz.build crash reporter bug components r=bsmedberg
MozReview-Commit-ID: IJgNTLI4K5w

--HG--
extra : rebase_source : c93a49e6e8ca9284f0084c86f0a551c0a076ee6f
2017-05-02 09:44:42 -07:00
Andrew Swan efb4f22c33 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : 34aa762917566b052ade6372280caed72fbfbe9a
2017-05-01 10:34:27 -07:00
Mantaroh Yoshinaga 0fdc861258 Bug 1355732 Enable web platform tests of column-* properties animation. r=hiro
MozReview-Commit-ID: EsuYbfbP17G

--HG--
extra : rebase_source : 708128f68c7bf4970f13ca1c65ab37cf5cbec286
2017-05-02 17:43:33 +09:00
Wes Kocher 213466c2df Merge m-c to inbound, a=merge
MozReview-Commit-ID: LDWwyJ6Gdqw
2017-05-01 16:06:49 -07:00
Wes Kocher 7faa53484a Merge inbound to central, a=merge
MozReview-Commit-ID: 8sRTD0l9sKa
2017-05-01 15:55:18 -07:00
Ben Hearsum 3fc6f41c38 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - enable pgo, fix Linux treeherder symbols, use correct mozconfigs for Mac and Windows. r=rail
MozReview-Commit-ID: LQAzdw7paGf
2017-05-01 16:26:26 -04:00
Ben Hearsum 81d1f419d1 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - fix stage_platform, clobbers, and update_channel. r=asasaki
Because DevEdition builds are intended to be shipped, we must force clobbers on all of them. We also need to fix the update channel, which is currently still set to "beta". In order to make it possible to override this we need to change stage_platform to a unique value.

--HG--
extra : amend_source : 84422951ad22665c1cf027882171db01953ff840
2017-05-01 09:31:09 -04:00
Ben Hearsum 55e7aca426 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - set stage product for buildbot based builds. r=rail
To make OS X and Windows DevEdition builds upload to the "devedition" area on archive, instead of "firefox".

--HG--
extra : amend_source : b5472a9c2f27aa59b7f8715800dcb2161fe4252f
2017-05-01 12:58:27 -04:00
Sebastian Hengst 511aaabc7a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-30 20:25:47 +02:00
Jeremy Chen c398656635 Bug 1359786 - re-enable interpolation tests for word-spacing and flex-basis. r=hiro DONTBUILD (test-only)
MozReview-Commit-ID: 45OfSVVuCUw
2017-05-01 00:36:07 +08:00
Jeremy Chen 29e85ccbca Bug 1359786 - update MANIFEST for web-platform-tests. r=hiro DONTBUILD (test-only)
MozReview-Commit-ID: 8zAizjwsMLN
2017-05-01 00:36:06 +08:00
Jeremy Chen c073148ffd Bug 1359786 - reuse existing lengthPairType for positionType in web animations' web-platform-tests. r=hiro DONTBUILD (test-only)
Since lengthPairType and positionType share the same testing logics, we shall
just reuse lengthPairType::{testInterpolation, testAddition} for positionType.

MozReview-Commit-ID: 1nBBHmTB3U9
2017-05-01 00:36:06 +08:00
Jeremy Chen c9c4b8cd54 Bug 1359786 - only check the mid-point while testing interpolation results in animations' web-platform-tests. r=hiro DONTBUILD (test-only)
In case of interpolation, we shall just check at 500ms.
No need to check 0ms and 1000ms.

MozReview-Commit-ID: FldqRXj0HLo
2017-05-01 00:36:06 +08:00
Greg Mierzwinski 5d46e96825 Bug 1360667 - Change location of coverage collection in xpcshell. r=jmaher
MozReview-Commit-ID: EsA8hTKd15Y

--HG--
extra : rebase_source : 4f2e5bd8b2ecb6dee6b2b85f9687b62feb6c9531
2017-04-28 15:20:37 -04:00
Sebastian Hengst 42fd33ff9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ELENTh08Be7
2017-04-29 11:10:31 +02:00
Joel Maher cd365fb366 Bug 1359361 - new bloom test on osx is generating too many alerts. r=rwood
MozReview-Commit-ID: IAIGXaZFqMb
2017-04-28 17:04:02 -04:00
Henrik Skupin ea0737e52e Bug 1360466 - Only handle hashchange event for the current window. r=ato
Similar to the other unload and load events during a page load,
the hashchange event should only be handled if the event's target
document is the current window.

MozReview-Commit-ID: F1LMBh5Cy4A

--HG--
extra : rebase_source : 668fd6946067989e7e732b24baf6de2e85541f21
2017-04-28 14:16:59 +02:00
Henrik Skupin 5b9b18e398 Bug 1360466 - Use target instead of originalTarget in handleEvent. r=ato
originalTarget seems to be outdated and not used anymore for each
navigation related event. But target is, and as such handleEvent
has to make use of that instead.

MozReview-Commit-ID: AN2H1PbCt7A

--HG--
extra : rebase_source : fbead2b5b802454f0e288fb9696db5d422e46b50
2017-04-28 17:36:42 +02:00
Gregory Szorc 4f5e255e5c Bug 1304508 - Remove final references to pymake in mozharness; r=ted
We shouldn't be running pymake any more. So code to work around its
behavior is no longer necessary and can be removed. Good riddance.

MozReview-Commit-ID: AlV6ZLiA6WB

--HG--
extra : rebase_source : 56252a8d96f108fd24878e7a26f0d4ffe4a0db45
2017-04-26 13:41:00 -07:00
Gregory Szorc 2a5be2b0d9 Bug 1304508 - Remove references to pymake in mozharness configs; r=ted
Now that mozharness is calling `mach build` to invoke the "check" target,
there are no more consumers of the "enable_pymake" config option. So we
remove it from the configs.

We also remove definitions of the "make" executable referring to pymake.
The only call sites I could find for "query_exe('make')" are in
testing/mozharness/scripts/mobile_l10n.py. So most of these definitions of
the "make" executable appear to be a cargo cult or left over from a
previous rewrite (the code we just changed to stop calling "make" wasn't
using query_exe). Since mobile_l10n.py is still using query_exe() to find
the make executable, there's a chance switching away from pymake (if this
patch even does that - I don't think we touched a config file related to
that script) could break something. I'm fine with teasing out that bug.

MozReview-Commit-ID: 7HR6ShAKcoV

--HG--
extra : rebase_source : 07c6a6f7aaab6d7fceeab46b6ca2744c964148dd
2017-04-26 13:31:40 -07:00
Gregory Szorc 47737eb684 Bug 1304508 - Use mach for running "check" target; r=ted
We switch mozharness to use `mach build` to invoke the "check" make
target instead of using `make` itself. Because `mach` is the interface
that everyone should use and `make` is an implementation detail.

My editor also snuck in a change to normalize a CRLF line ending.

MozReview-Commit-ID: 4gdE6oeK0Lz

--HG--
extra : rebase_source : 0bfd6503a25f6b4304b596bd59ef99294c011474
2017-04-24 18:24:48 -07:00
Aryeh Gregor 527fb3fff5 Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku
Discussion at <https://github.com/whatwg/dom/issues/319>.  In short, the
specification used to say to throw sometimes InvalidCharacterError and
sometimes NamespaceError, but browsers disagreed on which to throw in
corner cases, and everyone agreed it wasn't worth the effort to spec the
distinction, so we just changed it to InvalidCharacterError across the
board.

The test changes are already upstream.

MozReview-Commit-ID: AWSZBznQprG

--HG--
extra : rebase_source : 2f0051f48124380f17300a38ceb8c2ab23015ca1
2017-04-20 17:37:07 +03:00
Ben Hearsum 83ab509084 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - add linux devedition builds r=aki,kmoir
MozReview-Commit-ID: 9mghIaHomfs

--HG--
extra : rebase_source : 5cadc16cf4b02b93eb1ae9ab14a87435c246b45c
2017-04-27 10:35:36 -04:00
Wes Kocher febd210bd9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lm5sPLbtrs
2017-05-03 13:54:34 -07:00
Ben Kelly d9b204c062 Bug 1361754 Don't propagate Navigator object on document.open() any more. r=mrbkap 2017-05-03 13:25:05 -07:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Shing Lyu 16402be633 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: As1Bvg8qFKb
2017-04-28 11:15:54 +08:00
Sebastian Hengst 0936d33fb8 Backed out changeset 88c2a0b2dde5 (bug 1319111) for crashing Talos. r=backout 2017-04-28 00:16:39 +02:00
Wes Kocher 9528ad9a03 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaH1djmEY5A
2017-04-27 13:29:07 -07:00
Wes Kocher 2aa72d4cdc Merge inbound to central, a=merge
MozReview-Commit-ID: HZUHBRK4UmL
2017-04-27 13:00:07 -07:00
Dragana Damjanovic 9a3cfa6017 Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
Andreas Tolfsen 8f9f92f1cb Bug 1359079 - Take <select multiple> into account for obscured click test; r=whimboo
Because individual <option> elements are painted and represented in the
DOM when they belong to a <select multiple> list, the center point of
the list might be one of the options.

To take this into account, we perform an inclusive descendant check
(DOMElement.contains) to see if the <option> element is a descendant of
the container <select> element.

In the case the targetted element is the element itself, the test will
still pass since it is an _inclusive_ descendant check.  In other words,
containerEl.contains(tree[0]), if tree[0] is equal to containerEl,
will pass.

The relevant specification changes were made in
40abcefd6a.

MozReview-Commit-ID: ORX8zLxQJ

--HG--
extra : rebase_source : 87ca38df6696257d569ef1ffcb888426d1f569af
2017-04-17 17:24:19 +01:00
Gregory Szorc dacde5024f Bug 1359988 - Remove retrieve_b2g_device(); r=mshal
There appear to be no in-tree users of this function and it references
"b2g." I'm pretty sure it is dead code.

MozReview-Commit-ID: EHHRQ2iqQoP

--HG--
extra : rebase_source : ec136063dc5e4243232fce5289a8f47bd925b481
2017-04-26 13:59:36 -07:00
Gregory Szorc 7fc879b5fc Bug 1359988 - Remove spidermonkey b2g build script; r=mshal
We shouldn't be running any Firefox OS automation.

MozReview-Commit-ID: 4ea9SL7jill

--HG--
extra : rebase_source : 6d5c457d14d9d2b2b4abda47a2b3bfa1fa745d36
2017-04-26 13:51:01 -07:00
Gregory Szorc 5bf4c7477a Bug 1359988 - Remove mozharness configs for multi locale b2g builds; r=mshal
We shouldn't be running any automation related to Firefox OS. We should
be able to delete these files.

MozReview-Commit-ID: SY5f0GD9NQ

--HG--
extra : rebase_source : 3b7b5b28bc5da554ad9082c1c3115b3ab8de2e0a
2017-04-26 13:50:02 -07:00
Gregory Szorc 48c3f90e39 Bug 1359988 - Remove references to gaia in mozharness; r=mshal
These were the last occurrences of "gaia" in the mozharness directory.

MozReview-Commit-ID: 8ACEw1rMoUS

--HG--
extra : rebase_source : b5d98c9166d75a83f5303ee0faa34484b6f998d3
2017-04-26 13:56:52 -07:00
Gregory Szorc 07ab7036b5 Bug 1359988 - Remove mozharness docs related to gaia; r=mshal
The code is gone. Remove the legacy docs.

MozReview-Commit-ID: 9oIC00swoml

--HG--
extra : rebase_source : a98bb87426246957d0b28bb519301025d397b58b
2017-04-26 13:55:10 -07:00
Gregory Szorc a873e406bd Bug 1359988 - Remove gaia scripts and configs from mozharness; r=mshal
Firefox OS is dead.

MozReview-Commit-ID: CWX04cHHT7u

--HG--
extra : rebase_source : b455f916a4b673aad265d57560cf5e272a1740ca
2017-04-26 13:54:09 -07:00
Wes Kocher a463bb4c4c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Jeremy Chen 97e8b7fffc Bug 1354437 - enable border-spacing interpolation test. r=hiro
So far, we don't have a type to test anamations of a pair of length.
Since border-spacing consists two absolute lengths, we shall add this
new type.

MozReview-Commit-ID: Bo8VMWPLDHc

--HG--
extra : rebase_source : 26439e622fac5806465e971b84a111c9e01ffe1e
2017-04-27 17:26:31 +08:00
Andreas Tolfsen 632deccd67 Bug 1357878 - Maximize window synchronously and restore when maximized; r=maja_zf
When refactoring the tests for the Set Window Rect command, it was
discovered that the Maximize Window command was not synchronous.

This patch makes GeckoDriver#maximizeWindow synchronous by waiting for
the DOM resize event to fire before returning the window rect to the user.

It also aligns the command with the WebDriver standard by making it
restore the window to its original size when calling the command a
second time.

MozReview-Commit-ID: Ft3tn2A4m7u

--HG--
extra : rebase_source : 52b523e53dd19cc8bdc4631382c96db5906f333a
2017-04-20 17:04:58 +01:00
Andreas Tolfsen 5bd3bf699c Bug 1357878 - Prevent hang on setting window size to existing size; r=maja_zf
When the window's size is being set to the window's existing size,
Marionette unconditionally listens for the DOM resize event.  When a
window is not resized, no such event fires.

This patch skips setting the window size when the window's current size
is the requested size.  This bypasses the problem of listening for an
event that never occurs.

It also combines the window position- and size tests into a
test_window_rect.py test, since they share many of the same
characteristics.

Fixes: https://github.com/mozilla/geckodriver/issues/643
MozReview-Commit-ID: IUtCFXwT1fh

--HG--
extra : rebase_source : 43c4d0e24cf1e0dc6102af48b8fe6f075b6dd4a2
2017-04-19 21:19:36 +01:00
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Andreas Tolfsen 3752f5aaf4 Bug 1359043 - Remove incorrect click/scroll test r=whimboo
The test assumes the click point is the centre of the element, whereas
WebDriver uses the _in-view_ centre point to perform clicks.

If parts of the element is rendered outside the viewport, the click
point is calculated from visible portion of the element that is seen in
the viewport.

This means that if any portion of an element is within the boundaries of
the viewport, it is clickable.  If it is not, then it is not interactable.

This change is unfortunately not accompanied with any
implementation changes, but prepares Marionette for the changes
to the Element Click implementation that will come as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1321516.

MozReview-Commit-ID: Kh0zzRrtmJ4

--HG--
extra : rebase_source : 63cc463a11d5ca085e7a96ea84dcadbe3bb90204
2017-04-17 18:39:12 +01:00
Henrik Skupin d92bf63b99 Bug 1357407 - Enable logger output for framescript when remoteness is enabled. r=ato
With remoteness enabled content framescripts don't seem to inherit the
appenders for loggers, which have been set by the main script. To get
the output written to stdout they have to add their own appender. To
prevent duplicated output after framescripts get reloaded, the addition
of the appender should only happen once.

MozReview-Commit-ID: A5TMQvQu0Iy

--HG--
extra : rebase_source : 9a9ecdb8aec8d7b310b916407edbac77b8ec88c9
2017-04-27 12:09:10 +02:00
Alexandre Poirot c90bccb53a Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK

--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Henrik Skupin 247b5f9899 Bug 1335778 - Make element click command check for page load and wait. r=ato
If the click command triggered a page load, it should not return before
the page has been fully loaded. With this patch we allow an opt-in for
commands to make use of an unload check. It's set to 200ms right now, and
will cancel an ongoing waitForPageLoad() if no page activity is detected.

MozReview-Commit-ID: DWV53sckBS2

--HG--
extra : rebase_source : 1b7905c101b7ebf406e88c73be5d0e069b7342c0
2017-04-20 12:12:27 +02:00
Henrik Skupin fc3604eaf5 Bug 1335778 - Harden test_page_timeout_fail against intermittent failures. r=ato
Tests for page timeout durations have to use an HTTPD handler that delays
or slows down document load. Otherwise there a risk that the timeout error
is not returned before the document finishes loading.

MozReview-Commit-ID: HGGcXfCuaSH

--HG--
extra : rebase_source : c79b01ca4e56e21877c6fe94309b7b0424d9b552
2017-04-13 14:57:25 +02:00
Henrik Skupin 7ec2768336 Bug 1335778 - Synchronize navigate() for trigger methods using generators. r=ato
In the case when the trigger callback inside navigate() uses a generator,
the code has to be synchronized and needs to wait until the contained
command has been completed.

MozReview-Commit-ID: 8qKUMvH7HpS

--HG--
extra : rebase_source : 19a87058d62088701914ab2a468ddffaecec1fe2
2017-04-07 21:44:32 +02:00
Henrik Skupin fd0dae0214 Bug 1335778 - Make switchToFrame synchronous for in-process frames. r=ato
In the case of switching to an in-process frame, the checkLoad timer
is setup which waits for the frame's content to finish loading.

But the command doesn't actually wait for those events and calls
sendResponse() immediately. This causes a race condition for the
following commands.

MozReview-Commit-ID: 6vuQ7paQ55K

--HG--
extra : rebase_source : ceb590f435d84ead4eba2e718e1ebaa01900d33f
2017-04-25 11:29:02 +02:00
Chris Pearce ce7bb69227 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 92870f1adc7ae68e58b15443e4223012bdf0e39a
2017-04-26 15:46:09 +12:00
Iris Hsiao c43c229375 Backed out changeset 0b8bf5cb743f (bug 1358373) for build bustage. a=backout
CLOSED TREE

--HG--
extra : amend_source : f6fd0c93b8b1ff9cc111cc4bc7776dd8e2a383d0
2017-04-27 10:10:47 +08:00
Chris Pearce ecfe3c34c4 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 4beba0212411a0f5867feb506bbf732f5a934fa9
2017-04-26 15:46:09 +12:00
Jared Wein 7dbb0e91c3 Bug 1347413 - Remove the unused browser-fullZoom:zoomReset and browser-fullZoom:zoomChange notifications. r=dao,mccr8
MozReview-Commit-ID: GeqfVngo9QT
2017-03-15 11:26:57 -04:00
Wes Kocher 226702fd85 Merge m-c to autoland a=merge
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Wes Kocher c90904f9bf Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 9HQViJrDT6S
2017-04-26 17:30:31 -07:00
Mantaroh Yoshinaga cb2cd69269 Bug 1356162 - Enable web-platform-tests of clip property animation. r=hiro
MozReview-Commit-ID: 7HRcmV7CWAN

--HG--
extra : rebase_source : 64b658ca3397a7a270c242f277a4813e01f5cbb9
2017-04-26 16:24:30 +09:00
Andrea Marchesini 8beb8af7d4 Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug
nsIFilePicker.displaySpecialDirectory is a string that can be set to TmpD,
Desk, or any other special directory value. The real value of this directory
will be read in the parent process.
2017-04-26 18:20:19 +02:00
Joel Maher 5841b2f70e Bug 1358098 - Increase regression threshold for sccache alerts. r=rwood,ted
MozReview-Commit-ID: 8L8iSoBqrCu
2017-04-26 11:01:25 -04:00
Sebastian Hengst 88c73138b1 Backed out changeset 4d8dfee7ebf3 (bug 1351548) 2017-04-26 13:12:59 +02:00
Shing Lyu 0673a3e783 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: 3GHNhi3gdg9
2017-04-26 18:21:48 +08:00
Phil Ringnalda be9487beea Backed out changeset f7656a18ff7e (bug 1358674) for gfx assertion failures about Texture deallocated too late during shutdown in browser-chrome
CLOSED TREE

MozReview-Commit-ID: 5KqpbH2oM0V
2017-04-25 20:30:23 -07:00
Mike Conley 365f4e988a Bug 1352501 - Remove Reader Mode promotion panel. r=jaws,MattN
Note that the UITour library can still show a panel in the event that we want to
promote the feature that way.

MozReview-Commit-ID: FzKSzO987h7

--HG--
extra : rebase_source : 8c129106478559f011a3a4e311331851939ab408
2017-04-19 16:42:10 -04:00
Emilio Cobos Álvarez ea71d98f7b Bug 1355351: Tests for correct resolution of style for pseudo-elements. r=heycam
MozReview-Commit-ID: BFvXhYCK46v

--HG--
extra : rebase_source : b66f5de7a7a25f81e746155eb2192863315c562b
2017-04-16 23:29:46 +02:00
Andreas Tolfsen 0c61ad5319 Bug 1359050 - Test element in view with pointer events enabled; r=maja_zf
This change makes it possible to click elements that has its
pointer-events style property set to "none".

If an element has its style property pointer-events set to "none",
the element in view test will fail due to document.elementsFromPoint
excluding it due to non-interactability.  This is only a problem when
checking if the element is inside the viewport, and not when actually
performing interaction with the element.

The relevant specification change is
ba6ee925b5.

MozReview-Commit-ID: JwZB6fm7P9A

--HG--
extra : rebase_source : 18ddf7955c7e0bc6d1d7f798aebc6e09799a99ca
2017-04-17 19:34:44 +01:00
Blake Kaplan 63fed782c8 Bug 1358674 - Automatically release cached processes when processCount is lowered. r=krizsa
This makes sure that tests that either specifically want to test fewer content
processes *or* tests that don't work with multiple content processes will get
what they ask for when they run.

MozReview-Commit-ID: 6FI8BmB98Zi

--HG--
extra : rebase_source : 52fbf155fb3d1ae2a9805968aa96761bc27ed0ed
2017-04-21 16:54:45 -07:00
Gregory Szorc 60eae39780 Bug 1357344 - Guard against division by 0 when reporting CPU usage; r=mshal
In cases where CPU usage couldn't be recorded, we may incur a division
by 0 exception.

While we should figure out why we're not collecting CPU data, this patch
papers over the uncaught exception which was causing mozharness to bail.

MozReview-Commit-ID: 3PrIl6cEzuf

--HG--
extra : rebase_source : ece317b73af6a5b47ccad30981963457e6c6b9a8
2017-04-24 15:20:09 -07:00
Chris Manchester 96f55718c4 Bug 1357562 - Prevent windows clang builds from being replaced by an artifact build. r=nalexander
These builds do not have a distinct variant and they do not have an artifact
build equivalent, so specify this in their respective mozharness configs.

MozReview-Commit-ID: CHMglUoP8LR

--HG--
extra : rebase_source : a82323616c8266a6e7d4d82fde0da441da3cc3f3
2017-04-25 16:18:43 -07:00
Chris Manchester 5dca661175 Bug 1357562 - Remove 'artifact_build_variant_in_try': None entries where no longer necessary. r=nalexander
The previous commit changed our default behavior to make these entries no longer
necessary.

MozReview-Commit-ID: 5bKEH7zbbWi

--HG--
extra : rebase_source : 431d7f6df1136a20ed5796c23832879c5be99790
2017-04-25 16:17:44 -07:00
Chris Manchester 1871ce657b Bug 1357562 - Specify artifact build replacement via mozharness for non-variant builds. r=nalexander
No builds other than vanilla opt and debug builds are supported by the artifact
code currently, so prevent variant builds from being replaced by artifact builds
by modifying mozharness' replacement logic to replace a build with an artifact
build only when it is a regular opt or debug build or when specified by a
config.

MozReview-Commit-ID: KUUgrbga53l

--HG--
extra : rebase_source : d3c6e3929bf02893ec18f54b0a8739181067e22b
2017-04-25 15:54:24 -07:00
Andrew McCreight 43d4185c57 Bug 1355834 - Report LLVM symbolizer OOMs as errors. r=jgraham
This will make it easier to correctly star these failures, which
otherwise simply show up as a false positive leak.

MozReview-Commit-ID: 5P6AMRyYmtI

--HG--
extra : rebase_source : 6e63bffb6cdcb389d6533acbc44c2a206009a99e
2017-04-12 11:01:24 -07:00
Aryeh Gregor 1d730f1c5d Bug 1359371 - Update Selection.webidl to match spec r=smaug
Practical changes:

1) Some additional method arguments are nullable or optional, which
matches Chrome/WebKit.  They make more sense non-nullable and
non-optional, but Chrome is afraid of the compat impact of changing.

2) Added [CEReactions] to deleteFromDocument().

MozReview-Commit-ID: Kg9EDubnEui

--HG--
extra : rebase_source : 1d47ee0b12b0b719159c326f789dd6e6b6000c8e
2017-04-25 14:55:31 +03:00
Andreas Tolfsen 9d9b0dba43 Bug 1359004 - Add preliminary support for unexpected alerts r=whimboo
Add preliminary support for returning unexpected alert open errors when
calling commands that require it according to the WebDriver standard.

Also fixes a faulty test that seems to believe it is fine to click an
element whilst an alert is present.

Further work needs to be done on user prompts, asserts, and the handler
for user prompts in https://bugzilla.mozilla.org/show_bug.cgi?id=1264259.

MozReview-Commit-ID: BiWURoQECji

--HG--
extra : rebase_source : caa1506a0e972c7ad0da2d31993fb0b8ecc1ee17
2017-04-20 18:00:46 +01:00
Andreas Tolfsen 72f6c01b53 Bug 1359059 - Skip visibility checks when clicking in XUL; r=whimboo
This patch removes the call to element.isVisible when clicking XUL
elements because it does not do anything useful.  element.isVisible skips
the Selenium atom.isElementDisplayed check for XUL elements and runs a
few web content/viewport centric tests that always pass in XUL.

It also splits the chrome click out to a separate function to avoid a
few if-conditions.

MozReview-Commit-ID: EkcwT77ku3C

--HG--
extra : rebase_source : ee5e8148934ec008cda996610c20a826f86412af
2017-04-24 15:01:41 +01:00
Andreas Tolfsen 754d617ec8 Bug 1359053 - Reject interaction.flushEventLoop if window is discarded; r=maja_zf
The window reference may have been discarded as a result of interaction.
For example, this may happen when clicking a button that deletes the
host <iframe> element containing the child window.  In this case, the
WindowProxy will set its closed property to true, to indicate that the
browsing context has been discarded.

We only want to flush the event loop of windows that exist, and so we
return early from interaction.flushEventLoop if the window has been
closed.

MozReview-Commit-ID: LtTHQRudKvk

--HG--
extra : rebase_source : e4133ddeed9e89e38fba6e9b8f17544a3546f7eb
2017-04-17 18:42:18 +01:00
Andreas Tolfsen e14f20eea7 Bug 1359054 - Take shadow DOM into account when getting paint tree; r=maja_zf
We want to take shadow DOM into account when getting an element's
pointer-interactable paint tree.

Marionette is currently unable to determine if an element inside a shadow
DOM host is disconnected from the document because we are constructing
the frame container with only the main document.

MozReview-Commit-ID: IPDi8fQZYRP

--HG--
extra : rebase_source : 8c6757a032342aa6bbe50ef15025a37ac09ae413
2017-04-17 17:51:13 +01:00
Andreas Tolfsen a01b7b7f4e Bug 1353074 - Use mutable sandboxes for selection API; r=maja_zf
Injected script in the Marionette caret selection API used the "default"
immutable sandbox, but we want to run them in the mutable sandbox.

MozReview-Commit-ID: BpbHdDhDtg4

--HG--
extra : rebase_source : 2b710ca483f1732d91527820006da5da331b5df3
2017-04-17 14:47:28 +01:00
Andreas Tolfsen 3535278dba Bug 1353074 - Components ctor test should not throw; r=maja_zf
Testing the return value is misleading in this case.  What we want to
test is that it does not throw due to a permissions issue.

MozReview-Commit-ID: 2Wbwou9opyF

--HG--
extra : rebase_source : 2731ddce0efcd705880a70d69ee934571a766b9a
2017-04-03 19:20:19 +01:00
Andreas Tolfsen c0a09ea48c Bug 1353074 - Run wrappedJSObject execute script tests in all sandboxes; r=maja_zf
MozReview-Commit-ID: 5u2u5alGb7Z

--HG--
extra : rebase_source : 1c4ea16db0fb7bcd5475ac93442921917aa0738b
2017-04-03 19:19:05 +01:00
Andreas Tolfsen d9784cf772 Bug 1353074 - Run Components permission test in all sandboxes; r=maja_zf
The Components.classes constructor should throw an error in both the
mutable and the "default" sandbox.

MozReview-Commit-ID: C40nZNaVWwz

--HG--
extra : rebase_source : 81ecde684967241de5fed8f61dd1c0d69d077cfb
2017-04-03 19:18:25 +01:00
Andreas Tolfsen e8db02d195 Bug 1353074 - Run globals execute script tests in all sandboxes; r=maja_zf
We accidentally only ran them in "default" and "system" before, and also
one of the arguments in the system globals test was wrong.

MozReview-Commit-ID: DmBYGsZaIVP

--HG--
extra : rebase_source : 25f72fca677a44079d727e5ff3fa147e3e28eb6e
2017-04-03 19:17:24 +01:00
Andreas Tolfsen 1f633b4770 Bug 1353074 - Test arguments in all sandboxes; r=maja_zf
We were previously missing a test for the arguments variable that is
implicitly exposed to functions.

MozReview-Commit-ID: IC6aJcUsyhd

--HG--
extra : rebase_source : 7aeb986bb4c299ef5996f7b2847e6cc2d878459f
2017-04-03 19:15:13 +01:00
Andreas Tolfsen cb1c619b93 Bug 1353074 - Use tuples for script arguments; r=maja_zf
The Python standard library uses tuples to define arguments for functions,
whenever they are invoked through meta programming.

The Marionette client only allows the list type for backwards
compatibility, so we prefer tuples in this case.

Another good argument for tuples is that tuples are immutable.

MozReview-Commit-ID: 72zPzYvBz7Q

--HG--
extra : rebase_source : 79315dd809e00c4c805bd0de3244b519e3ff286f
2017-04-03 19:14:16 +01:00
Andreas Tolfsen 42acd45542 Bug 1353074 - Make unload event safe for introspection from content; r=maja_zf
Marionette does not protect the unloadHandler in
testing/marionette/evaluate.js from content introspection or
modification, which can happen when web frameworks override
window.addEventListener/window.removeEventListener.

The script evaluation module used in Marionette relies on
sandbox.window.addEventListener/removeEventListener to throw an error when
script execution is aborted due to the document unloading itself.  If the
window.addEventListener/removeEventListener functions have been overridden
to introspect the objects that are passed, they may inadvertently touch
objects originating from chrome space, such as the unloadHandler.

Because the Gecko sandboxing system put in place strict security measures
to prevent accidental chrome-space modification from content, inspecting
the unloadHandler will throw a permission denied error once the script
has finished executing.

We have found examples in the wild of this in particular with the Angular
web framework.  This patch makes the unloadHandler safe for introspection
from web content.

Fixes: https://github.com/mozilla/geckodriver/issues/515
MozReview-Commit-ID: E2LgPhLLuDT

--HG--
extra : rebase_source : 9948585b4ac2f464a9f31868bfd2d5967e61755e
2017-04-03 18:36:43 +01:00
Alexandre Poirot eda858a388 Bug 1356237 - Ship a copy of transport module in marionette. r=ato
DevTools is about to move out of mozilla-central and be released as an add-on.
So that these protocol files are going to be missing from the tree.
To accommodate that, we are doing a copy of them next to marionette.

MozReview-Commit-ID: 9PyhuwyZyXI

--HG--
extra : rebase_source : b6d96ae5e4c4ac837713e396ab72163b168871f2
2017-04-24 20:23:04 +02:00
Aryeh Gregor af57d2df0f Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2

--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
Aryeh Gregor aec49bff0f Bug 1359453 - Use standard exception for selection.removeRange() r=masayuki
The test change is already upstream:
https://github.com/w3c/web-platform-tests/pull/5686

The spec change has not officially been accepted yet as of this writing,
possibly delayed for IPR review:
https://github.com/w3c/selection-api/pull/87

MozReview-Commit-ID: 3auwvwP4X72

--HG--
extra : rebase_source : 0396cd7c454b234598d77427bc20c6ea0645dc2e
2017-04-26 15:50:36 +03:00
Aryeh Gregor 5bc9092ee8 Bug 1359780 - Always remove duplicates/whitespace in DOMTokenList methods r=masayuki
Previously, replace() and toggle() would not always remove duplicates
and whitespace from the DOM attribute in the case where they were no-ops
(replacing a nonexistent token, force-toggling a token to its current
state).  Now they do.  This matches the behavior of add() and remove(),
and also replace() in one case (replacing an existing token with
itself).

This follows a spec change: https://github.com/whatwg/dom/pull/444

MozReview-Commit-ID: 7lDEQxOGxPV

--HG--
extra : rebase_source : 842ff24c46681649affcedcba2623128fc6f5a7b
2017-04-26 15:13:44 +03:00
Sebastian Hengst 3a9a395200 Backed out changeset 4a9cc95b8a9f (bug 1335778) for failing firefox-ui-functional-local's test_notifications.py TestNotifications.test_addon_install_failed_notification. r=backout 2017-04-26 14:13:09 +02:00
Sebastian Hengst 58e94402a0 Backed out changeset 5589cde521f8 (bug 1335778) 2017-04-26 14:12:21 +02:00
Sebastian Hengst daa08aca84 Backed out changeset 0e6dee0ccecf (bug 1335778) 2017-04-26 14:12:17 +02:00
Sebastian Hengst 2bb5df4de7 Backed out changeset e084deb550c2 (bug 1335778) 2017-04-26 14:12:13 +02:00
Aryeh Gregor 99eb2c1bc7 Bug 1359387 - Support Selection.empty()/setPosition() r=masayuki,smaug
Blink, WebKit, and Edge already support these, and they're in the spec.
Tests submitted to wpt upstream.

MozReview-Commit-ID: 5NFBeClNN7y

--HG--
extra : rebase_source : ea073639904e1ae9449990827ad32626aa6267d9
2017-04-25 15:49:27 +03:00
Henrik Skupin d9653a7941 Bug 1335778 - Make element click command check for page load and wait. r=ato
If the click command triggered a page load, it should not return before
the page has been fully loaded. With this patch we allow an opt-in for
commands to make use of an unload check. It's set to 200ms right now, and
will cancel an ongoing waitForPageLoad() if no page activity is detected.

MozReview-Commit-ID: DWV53sckBS2

--HG--
extra : rebase_source : 455e252e85c14b4ca841f02794bf0d33133ef10a
2017-04-20 12:12:27 +02:00
Henrik Skupin 0c281b238c Bug 1335778 - Harden test_page_timeout_fail against intermittent failures. r=ato
Tests for page timeout durations have to use an HTTPD handler that delays
or slows down document load. Otherwise there a risk that the timeout error
is not returned before the document finishes loading.

MozReview-Commit-ID: HGGcXfCuaSH

--HG--
extra : rebase_source : c79b01ca4e56e21877c6fe94309b7b0424d9b552
2017-04-13 14:57:25 +02:00
Henrik Skupin 2a85a061ba Bug 1335778 - Synchronize navigate() for trigger methods using generators. r=ato
In the case when the trigger callback inside navigate() uses a generator,
the code has to be synchronized and needs to wait until the contained
command has been completed.

MozReview-Commit-ID: 8qKUMvH7HpS

--HG--
extra : rebase_source : 19a87058d62088701914ab2a468ddffaecec1fe2
2017-04-07 21:44:32 +02:00
Henrik Skupin e1a0e9491a Bug 1335778 - Make switchToFrame synchronous for in-process frames. r=ato
In the case of switching to an in-process frame, the checkLoad timer
is setup which waits for the frame's content to finish loading.

But the command doesn't actually wait for those events and calls
sendResponse() immediately. This causes a race condition for the
following commands.

MozReview-Commit-ID: 6vuQ7paQ55K

--HG--
extra : rebase_source : ceb590f435d84ead4eba2e718e1ebaa01900d33f
2017-04-25 11:29:02 +02:00
Xidorn Quan 658ec0d2cc Bug 1340434 part 2 - Request complete log and mark suppressed unexpecteds. r=jmaher
MozReview-Commit-ID: FFP7UfmJ1xs

--HG--
extra : rebase_source : e3c5ee954c3a64359fc4423b8644ee718f463555
2017-02-17 23:45:13 +11:00
Xidorn Quan 7a6a7134b7 Bug 1340434 part 1 - Increase the max log size for linux unittest. r=jmaher
MozReview-Commit-ID: 8XDgwx9pmwy

--HG--
extra : rebase_source : 65831b25b4e700b96c920f9cc1f3c93a4ef10e38
2017-04-28 17:30:09 +08:00
Carsten "Tomcat" Book 99ad79fa44 Merge mozilla-central to autoland 2017-04-28 10:46:26 +02:00
Henrik Skupin 8be6debc7e Bug 1357634 - Temporarily skip test_click_number_link and test_clicking_on_a_multiline_link for intermittent failures. r=Tomcat
MozReview-Commit-ID: 3mhV5Sf4Lvj

--HG--
extra : rebase_source : 7cd187678735edcf3facbd88ac66d8370ee32479
2017-04-28 09:00:08 +02:00
Cameron McCormack 5bd602ecc8 Bug 1361303 - Part 1: Add test for serialization of CSS Custom Property names. r=xidorn
MozReview-Commit-ID: E1nwZzB8hRK

--HG--
extra : rebase_source : c85ed63b9a9225cd65c1dd94206229513ed149b4
2017-05-02 15:03:53 +08:00
Iris Hsiao 1401934d7b merge mozilla-inbound to mozilla-central a=merge 2017-05-02 11:04:36 +08:00
Honza Bambas 0504ed64c3 Bug 1319111 - Exposing URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Olli Pettay edb4c7f19f Backout bug 1359780 because it causes bug 1360230, r=backout
--HG--
extra : rebase_source : 019b76e46c55697d54b50677b704f2af44e3a786
2017-04-27 20:50:21 +03:00
Blake Kaplan 7829881e9e Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 1ea86df2e2443be38cfae4e5f8c1336bf742157c
2017-04-26 17:52:20 -07:00
Blake Kaplan a7595ea509 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : f7739afebaa74976b4ce5100bde29cbcd33c9526
2017-04-26 17:08:32 -07:00
Aki Sasaki 0550f47570 bug 1360542 - remove aurora_to_beta and central_to_aurora. r=rail
MozReview-Commit-ID: KUyuR80Sz0e

--HG--
extra : rebase_source : 7020fcfd6499f426ac22c9e692b2cc4bdba3d718
2017-05-04 11:35:32 -07:00
Aki Sasaki 09f2eec7e8 bug 1360542 - central_to_beta merge day changes. r=rail
MozReview-Commit-ID: 89mbB65fTNJ

--HG--
extra : rebase_source : 12e4462bba866a72e04cdedf8c50f7a051519096
2017-05-04 10:06:05 -07:00
Aki Sasaki 9ceb08bf17 bug 1360542 - copy central_to_aurora config to central_to_beta. r=rail
MozReview-Commit-ID: EAlD5de13c8

--HG--
rename : testing/mozharness/configs/merge_day/central_to_aurora.py => testing/mozharness/configs/merge_day/central_to_beta.py
extra : rebase_source : 95ffd10f3915c59957fc06a80eb7f19a01ff44ed
2017-05-03 16:28:34 -07:00
Armen Zambrano G. 0d3abd6562 Bug 1359127 - Initial Mozharness support for mitmproxy r=aki
This change allows a script to have mitmproxy set up support.
This will make a Firefox installation to import the cert from the mitmproxy
and selecting it as a proxy.

MozReview-Commit-ID: FweyOCzWyN9

--HG--
extra : rebase_source : 268cd3700ce826bb9c1381f87a0b42f6c1ad3c7a
2017-05-01 14:58:01 -04:00
Armen Zambrano G. 908a36a1d4 Bug 1359127 - Add Firefox autoconfig support r=aki
Autoconfig files allow modify a Firefox installation with Javascript code.

This change has the basic functionality without actually modifying Firefox
in any manner.

MozReview-Commit-ID: DDGnlYJb7iE

--HG--
extra : rebase_source : 94fa4a340fb000063f9951790f8ec7c2eefb746b
2017-05-04 10:16:40 -04:00