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

16639 Коммитов

Автор SHA1 Сообщение Дата
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
Wander Lairson Costa 7133fa7e8b 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 : rebase_source : d5ee1605bf5ec70223e7676bd2d2fd760841d59a
2017-05-02 16:12:51 -03:00
Jeremy Chen 4a894fc27e Bug 1360144 - enable WPT interpolation tests for some SVG stroke related properties. r=hiro
This includes stroke-{opacity, miterlimit, stroke-dasharray}.

In this patch, we added opacityType to enabled stroke-opacity's
animation tests. With the newly added opacityType, we should be
able to test other opacity like properties as well.

Re-use existing positiveNumberType for stroke-miterlimit.

As for stroke-dasharray, we add a separated type specifically for it. Note
that we haven't supported unitless length in servo and stylo yet, so I didn't
add tests for length. We should add some once we support unitless length
in servo and stylo.

MozReview-Commit-ID: HIUSyvKA2G3

--HG--
extra : rebase_source : 08fdcdbf0895e691cb47dcf54c59dde38071c7dc
2017-05-04 14:37:29 +08:00
Henrik Skupin 1442e63ce9 Bug 1361849 - Fix handling of HTTPError when the update snippet cannot be retrieved. r=maja_zf
Re-raising an HTTPError with a modified reason would require 6 parameters
which we do not have at this point. So re-raise a normal Exception instead.

MozReview-Commit-ID: J9ws4IMDy3g

--HG--
extra : rebase_source : 59af3f6fa28ea4a0057419e340ef011abfcf10a2
2017-05-03 22:43:51 +02:00
Andreas Tolfsen a6eb04fe86 geckodriver: cargo: update lockfile
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9ccd512ed6dbcea4ada29ecfb35c9c68d987b9c0

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

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

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

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

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

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

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

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

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

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

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

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

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

committer: Andreas Tolfsen <ato@mozilla.com>

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

committer: Andreas Tolfsen <ato@mozilla.com>

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

committer: Andreas Tolfsen <ato@mozilla.com>

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

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

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

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

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

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

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

--HG--
extra : rebase_source : fa82fff4066d33d7d6ea05cdd56cb7f5f0453550
2016-11-21 14:01:22 +00:00
Brendan Dahl a071a0f003 Bug 1356681 - Expand headless mode support for linux. r=automatedtester,jrmuizel,kanru
Full Firefox on Linux can now be run with a --headless flag.
This includes seven parts:
1) Running all marionette tests in headless mode.
2) Prevents crashes where Firefox calls into GTK.
3) Adds a headless screen helper which supports changing the headless
screen size with the environment variables MOZ_HEADLESS_WIDTH and
MOZ_HEADLESS_HEIGHT.
4) Supports simulating moving a headless window.
5) Adds a stubbed out nsSound implementation.
6) Supports simulating size mode changes of headless windows.
7) Adds the --headless flag for Firefox.
2017-05-18 17:47:10 -07:00
jgraham cac5e0f42e geckodriver: Add issue template (#352)
* Add issue template

* Update ISSUE_TEMPLATE.md

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 22fb59aa14bf5c7fa05ac47a580aa113a8a4a1dd
2016-11-18 11:45:33 +00:00
Edgar Chen 77428c0a83 Bug 1264529 - If an adoption of <img> is happening with the different source and destination document, we need to force it to reload; r=jdm
Do force update image when adoption happens, then we could remove the workaroud added in bug 1307185 and bug 1317901.

MozReview-Commit-ID: Cbg3EHtyL8f
2016-10-13 18:03:10 +08:00
Ryan VanderMeulen a085dca446 Merge m-c to inbound. a=merge 2017-05-30 20:47:18 -04:00
Tobias Schneider 5e2804200d Bug 1359316 - (intersection-observer) Intersection ratio should be 1.0 for zero-area intersections. r=mstange 2017-05-17 12:19:07 -07:00
Andreas Tolfsen ee95efb19c geckodriver: changes: mention version bump
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: db09b28752f798ae526eecde9b0740dd359f49b2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fixes #250.

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

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

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

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

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

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

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

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

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

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

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

--HG--
extra : rebase_source : a1d510b4f0a6e4e6d859b50a97617f1595d23903
2016-10-03 22:45:44 +01:00
Andreas Tolfsen 045639d8dd geckodriver: ci: remove superfluous deb package
gcc-mingw-w64 is implied by gcc-mingw-w64-x86-64.

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

--HG--
extra : rebase_source : 2c6d5df06cc5ef271d1943d65f13abde0f556160
2016-10-03 20:39:54 +01:00
Andreas Tolfsen 031905e4a8 geckodriver: ci: build x86_64-pc-windows-gnu without containerisation
As of 2016-09-21 Travis started serving Ubuntu precise containers when
trusty was requested. This caused the x86_64-pc-windows-gnu build to
break, but we only noticed when building on custom Travis branches
because the geckodriver master branch used a cached Rust installation.

This change reverts the 64-bit Windows builds to run outside of the
container infrastructure, in which we can guarantee we are served Ubuntu
trusty with a sufficiently modern gcc to cross-compile.

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

--HG--
extra : rebase_source : 6eaa43cc16b5d5067b7ec981b3da12edf61f159c
2016-10-03 20:37:29 +01:00
Andreas Tolfsen c2953a54d2 geckodriver: ci: use rust stable
We were using Rust beta as some features we were relying on were only
available there, most notably cross-compilation.  Now that beta has been
rolled into stable, we are able to rely on the stable channel for most
of our targets.

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

--HG--
extra : rebase_source : 45220dbe82940a9cd0737e3d83c496579c580532
2016-10-03 17:19:51 +01:00
Andreas Tolfsen 32f47cca35 geckodriver: print the cargo configuration once written to disk
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: eae799effcd34e750c370c76576d6d2cbea598bd

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

--HG--
extra : rebase_source : 44e68bde3e0ab0259378f3f251c4afb65ed51d1a
2016-09-30 17:56:19 +01:00
Andreas Tolfsen 2adf3cce24 geckodriver: make it possible to override rust toolchain for individual configs in ci
This change makes it possible to set the TOOLCHAIN output variable which
will override the default toolchain defined in build.sh.  If TOOLCHAIN
is not defined it picks the default, which is currently `beta`.

The change should not affect the current build configuration.

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

--HG--
extra : rebase_source : 80695c0340b8fee1b335ee739bad851af5f7c1b5
2016-09-30 17:56:03 +01:00
Andreas Tolfsen c091124b15 geckodriver: Replace log with slog (#226)
* replace log with slog

The default log library has the disadvantage that it cannot be
reinitialised.  geckodriver needs the ability to set up the logger
again with a log level passed in with the `firefoxOptions.log.level`
capability when a new session request is made.

slog redirects calls to the log crate's `info!()`, `debug!()`, `trace!()`
&c. macros to a drain that we reinitialise when `logging::init(level:
LogLevel)` is called.

As this patch removes the env-logger crate, support for setting the
`RUST_LOG` environment variable is removed with this patch.  The correct
ways to request a log level is to use the `-vv` or `--log LEVEL` flags, or
the `firefoxOptions.log.level` capability as described in the README.md.

This patch also fixes a bug where the capability log level would
override the log level requested by flag in `MarionetteSettings`, causing
subsequent WebDriver sessions to inherit the log level.  For example,
if session 1 used `firefoxOptions.log.level` and session 2 did not,
it would reuse the level from before because `MarionetteSettings` would
not be reset.

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

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

--HG--
extra : rebase_source : 178fe69b0d0f46d57fd95dfe95af40884b3dfe29
2016-09-30 14:59:35 +01:00
Andreas Tolfsen 6fced0c0f3 geckodriver: disable homepage override url redirection on milestone upgrade
When Firefox’ milestone from the last successful startup of the
browser is different to the actual milestone, it is assumed that an
upgrade has occurred.  This causes the browser to be redirected to the
homepage override URL.

Setting this preference to `ignore` will cause the redirect not to
happen on upgrade.  This is important in the case of Marionette because
it also seems to be used to open two tabs on launching Firefox with a
fresh profile.

This doesn’t quite fix #241, because there is still an underlying race
condition when starting Firefox with a homepage.

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

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

--HG--
extra : rebase_source : 181c60fa460d7d2bd2b1b7ec58212f99d61d1462
2016-09-29 16:38:52 +01:00
Andreas Tolfsen 1ccdce7b16 geckodriver: sort default preferences lexicographically
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f3c732acf655ef079a2040b995db4ce0eb0fa3b5

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

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

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

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

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

--HG--
extra : rebase_source : c030b3fb369b94f8fd55e174b08bcf3aaa1bf99b
2016-09-13 16:54:53 +01:00
Andreas Tolfsen 2cf265da54 geckodriver: Disable additional welcome URL (#222)
* disable additional welcome URL

The preference startup.homepage_welcome_url.additional causes problems with
official branded builds that has been known to break certain Marionette tests,
such as testing/marionette/harness/marionette/tests/unit/test_window_handles.py
and testing/marionette/harness/marionette/tests/unit/test_selected.py.

Many Marionette tests make assumptions about the number of open windows, and
this aligns the test environment of the officially branded builds to be more
similar to that of Nightly builds.

* fixup! disable additional welcome URL

* fixup! disable additional welcome URL

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

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

--HG--
extra : rebase_source : d0565009d15e781de317049541f47a52e53698cc
2016-09-12 15:19:25 +01:00
Andreas Tolfsen f6dc56a653 geckodriver: improve changelog's explanation of new firefoxOptions capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f5c4181ed5018e79e1b27c18d7e9c87da5b6c82a

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

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

--HG--
extra : rebase_source : ab528f1c06cec947267d3ab899042741b2108ab9
2016-09-07 16:19:32 +01:00
Andreas Tolfsen 482564c733 geckodriver: Set log verbosity from capability (#217)
* fix shorthand verbosity flags

* allow firefoxOptions.log.level capability to control logging

The firefoxOptions.log.level capability may optionally be passed to the
New Session command, which will initialise the env_logger and override
the verbosity level requested from command-line flags or the RUST_LOG
environment variable.

When the flags are used these will from now on also enable the env_logger.

* remove default implementation for MarionetteSettings

* raise default log level to info

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

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

--HG--
extra : rebase_source : d0ea581f2e91a65de3a08c0b958c43c0565b37d2
2016-09-07 16:27:59 +01:00
Andreas Tolfsen 8eb3e6d84e geckodriver: Merge pull request #218 from andreastt/print-listening
Log listening host and port

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

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

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

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

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

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

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

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

--HG--
extra : rebase_source : ef1ad3ceeea7f17330b5957763cb9cff24180e4d
2016-09-06 17:15:14 +01:00
Andreas Tolfsen 4a439d8da1 geckodriver: Incrementally improve the UI (#214)
* incrementally improve the ui

Copying information is currently included in --help and this patch makes
it only appear when --version is invoked.

Futhermore, the error messages that are printed on invalid input are
made consistent.

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

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

--HG--
extra : rebase_source : f134abd4ac91d60b7e190ddd82f518d10fc7801c
2016-09-06 13:01:42 +01:00
Andreas Tolfsen e0a4b7ac36 geckodriver: fixup! update changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d8eac1a8bdde4833fda2ca8a2f0f88866ee3d147

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

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

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

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

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

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

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

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

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

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

--HG--
extra : rebase_source : 5a3744877e8433393104523e579ee6097ff53082
2016-09-01 13:34:17 +01:00
Andreas Tolfsen 95c49c0fe7 geckodriver: Add extension command for finding anonymous nodes (#203)
* add extension command for finding anonymous nodes

XBL has the concept of anonymous nodes that are not returned by the usual
WebDriver element-finding methods. However there are two Gecko-specific
methods of finding them; either by getting all the anonymous children of
a reference element, or getting a single anonymous child of a reference
element with specified attribute values.

This commit adds two endpoints corresponding to those methods:

	/session/{sessionId}/moz/xbl/{elementId}/anonymous_children

to return all anonymous children, and

	/session/{sessionId}/moz/xbl/{elementId}/anonymous_by_attribute

to return an anonymous element with the given attribute value, provided
as a body of the form:

	{
		"name": <attribute name>,
		"value": <attribute value>
	}

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

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

--HG--
extra : rebase_source : 5dcd3d458cd0d5f56d52a310cdf3c1749544f0af
2016-08-31 13:51:36 +01:00
Andreas Tolfsen 8aedb0de75 geckodriver: mention change to capabilities in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6e6335a492e34ae5025bc16714ca38834f8e9f31

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

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

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

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

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

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

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

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

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

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

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

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

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

committer: GitHub <noreply@github.com>

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

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

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

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

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

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

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

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

--HG--
extra : rebase_source : 7981c1503792ac64a9d96bdf64644a18146574b6
2016-07-27 14:15:00 +01:00
Henrik Skupin 56bc9b1cb8 Bug 1290850 - Force local update URL for software update unit tests. r=maja_zf
The unit tests for the software update class should not rely on
the remote update URL being reachable. Instead a locally served
URL has to be used.

MozReview-Commit-ID: 8WNoEb0PUWz

--HG--
extra : rebase_source : 85900716de5c868efd8f0411e0c577f317d98d25
2017-04-24 15:09:25 +02:00
Hiroyuki Ikezoe 22626693d8 Bug 1356941 - Add text-shadow interpolation tests. r=birtles
MozReview-Commit-ID: J19JN13UXtP

--HG--
extra : rebase_source : e8325461762faad33fefe15d162f2f6e67e971aa
2017-04-24 15:51:32 +09:00
Hiroyuki Ikezoe bf4981c9e3 Bug 1356941 - Add box-shadow interpolation tests. r=birtles
MozReview-Commit-ID: D8rJY1wOd0j

--HG--
extra : rebase_source : fbb84615ec1c386d114b4403b84522973db82b21
2017-04-24 15:51:25 +09:00
Hiroyuki Ikezoe 7378dc9339 Bug 1356941 - Use IntermediateColor for caret-color. r=birtles
MozReview-Commit-ID: ERFaMfLL9tE

--HG--
extra : rebase_source : bc4d9c7840db654cb6fa506544b284c8febb1cf3
2017-04-24 15:51:01 +09:00
Andreas Tolfsen f2c92ace04 geckodriver: add unreleased items to changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 41629b712c9febd4ccc25e84c7d69dc3f440e79f

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

--HG--
extra : rebase_source : 1cb0b201ac9780c129dbe30dfd2b6185fedd439e
2016-07-07 18:13:52 +01:00
James Graham 99bc42199b geckodriver: Merge pull request #136 from mozilla/deploy_single_file
Only deploy a single file when releasing

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

--HG--
extra : rebase_source : 420b0a8d3cf795f0e2b39065e0b228486d86855a
2016-07-01 17:32:17 +01:00
Sven Jost d0ca2767ff geckodriver: Merge pull request #134 from mythsunwind/master
Disable autofill of forms by default

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

--HG--
extra : rebase_source : a416320a9422014c10558e75d8208f4649a6f451
2016-07-01 17:26:37 +01:00
James Graham 4ae7f0d89f geckodriver: Encourage travis to actually deploy when we tag a version.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a7ddb25e9a02f4856c2ee732079ad8ad19156c99

--HG--
extra : rebase_source : 062b27920d7bb73d4ef4eb5dabbb56de7cdaa790
2016-06-30 17:15:52 +01:00
James Graham 3c3ba271d1 geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 694dfef49b563d52a467a2563b4d64b0b1be7f0b

--HG--
extra : rebase_source : 3757f3101360ffd7ec244143b1ffa06a2ef3d2e7
2016-06-30 16:41:13 +01:00
Andreas Tolfsen ff948449fd geckodriver: Clean up logging before 0.9.0 release (#130)
* clean up logging

Ensures incoming and outgoing packets are logged in the same way.

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

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

--HG--
extra : rebase_source : 00d8cd5a98511901a771cd4b2f929bf4a1679854
2016-06-30 16:36:42 +01:00
jgraham 5c42114578 geckodriver: Build using OSX on travis (#125)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 567e2f5b160fbe85e185f50b4ea7b3a5e9fe23e7

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : e8114ee12b3d2c39f665129d8add12da1629dfce
2016-06-30 16:35:14 +01:00
Andreas Tolfsen dc060c4f3c geckodriver: Clarify firefox support and webdriver conformance (#129)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fa1201c16d0fab5add888cb086bd06aec797ebdd

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

--HG--
extra : rebase_source : a0a3d7253a5240837cf269441a54219828fb0c60
2016-06-30 11:26:34 +01:00
jgraham 029c2b40d5 geckodriver: Use firefox default path if no other path information is supplied. (#121)
If a path is not provided in the new session command, or when starting
geckodriver, try to determine the firefox path by introspecting the
system.

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 41ed0e3737af2b0b65aa887da383530b2459da13
2016-06-29 11:23:57 +01:00
jgraham 20d52eeb58 geckodriver: Allow providing a firefox binary through new session parameters. (#66)
Binary can be specified with firefox_binary capability. If none
is provided it falls back to the value provided with -b on the
command line, if any, and returns an error otherwise.

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 8433c29107be045e679f003205e54ef708594dbb
2016-06-28 14:30:46 +01:00
jgraham 6e1cfa655d geckodriver: Connect between geckodriver and marionette on a random port. (#112)
This allows running multiple sessions without needing to reuse the
same port.

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

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : 2b43771675aa3b476ecad2068e94fdbe82fc9a6b
2016-06-27 21:24:22 +01:00
Andreas Tolfsen d9161df980 geckodriver: changes: fix markdown headers
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 19b09764da55cb3131c6fe29be27275995bf6cbf

--HG--
extra : rebase_source : 3cdc6902dc1b4379fff0ee1ef6605d25d74fb8fb
2016-06-24 11:43:32 +01:00