Commit Graph

6937 Commits

Author SHA1 Message Date
Shian-Yow Wu
d5acb1e8d0 Bug 1115495 - Part 2: PAC generator for browsing and system wide proxy. r=mcmanus, r=echen 2015-03-26 15:11:08 +08:00
Chris Peterson
3084940cd2 Bug 1083499 - Replace JS1.7's nonstandard destructuring for…in loops in mochitest/server.js. r=jmaher 2015-03-23 20:37:47 -07:00
Wes Kocher
2ab967724a Merge m-c to inbound a=merge to fix this CLOSED TREE 2015-03-25 16:57:50 -07:00
Wes Kocher
996ac9ece8 Merge m-c to inbound a=merge CLOSED TREE 2015-03-25 13:18:17 -07:00
jlal@mozilla.com
9b92bb023f Bug 1147559 - Optimize mulet/b2g-desktop builds by using isolated worker types r=me a=config-only
--HG--
extra : rebase_source : 7d90e64b6c4ac049b118da956bac8fc16bf24bba
extra : source : d4ac71f652f67c600cfc721201731f51137216b0
extra : histedit_source : 702b8cd58e65d805777a7c79a6c758b4b30e335e
2015-03-25 12:38:05 -07:00
jlal@mozilla.com
438c671ccf Bug 1147605 - Disable tests on phone builds r=me CLOSED TREE
--HG--
extra : histedit_source : a8ec0d9271cf01485cebcc13e3cba50745478279
2015-03-25 14:22:26 -07:00
Wes Kocher
977c500250 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-25 13:24:39 -07:00
jlal@mozilla.com
29c102db31 Bug 1147528 - Enable b2g-desktop on production treeherder r=kgrandon a=bustage CLOSED TREE
--HG--
extra : source : ab1c6debc388c4cb568c1508380bac64d785dec4
extra : histedit_source : 75646f613afd153c8955ded683ce32f81af0a1b0
2015-03-25 12:15:16 -07:00
jlal@mozilla.com
6360a6222e Bug 1142113 - Enable mochitests for mulet by default r=me a=taskcluster-only
--HG--
extra : rebase_source : fc8b4d86b4a276466bc5365263df522bfcb181c2
2015-03-25 09:49:20 -07:00
Wander Lairson Costa
051f0dcc50 Bug 1119387 part 5: Update docker images.
Update docker images to use taskcluster-vcs 2.3.4.
2015-03-25 14:25:27 -03:00
Wander Lairson Costa
1ce4fae349 Bug 1119387 part 4: Validate only artifacts that can leak blobs.
With nightly builds, some artifacts may be made available for public
access.

We now validate only the image that contain the commercial binaries.
2015-03-25 14:25:27 -03:00
Wander Lairson Costa
e97d7592ad Bug 1119387 part 3: Add option to specify mozharness branch.
Allow the user to specify the mozharness branch to use
through the option --mozharness-ref.
2015-03-25 14:25:27 -03:00
Wander Lairson Costa
2ee30b7442 Bug 1119387 part 2: Add flame nightly build script.
This will build flame and upload the results to ftp, balrog and symbol
server.
2015-03-25 14:25:27 -03:00
Wander Lairson Costa
2952a3a37d Bug 1119387 part 1: Move basic build setup to a separate script.
In order to avoid code duplication for additional builds, we move the
basic build setup to a common script.
2015-03-25 14:25:27 -03:00
Ryan VanderMeulen
d6595d8f5d Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
Dave Hunt
218b3a4f73 Bug 1140406 - [mozdevice] Allow connecting to a remote ADB server in adb.py. r=bclary 2015-03-25 12:25:44 +00:00
James Graham
052d0eb78e Bug 1092458 - Disable additional drawFocusIfNeeded test for instability on Windows 2015-03-25 11:42:15 +00:00
David Burns
fb023ad02c Bug 1143565: Change requirements to not be fixed to a specific marionette transport and driver; r=chmanchester
--HG--
extra : rebase_source : 255351c790da15cc1730a36cf270829fc44afa33
2015-03-24 21:31:59 +00:00
David Burns
ad27b9171b Bug 1143565: Bump marionette client to v 0.9.2; r=chmanchester
--HG--
extra : rebase_source : 2dbc7e301e2e56d5640d703f4bc01da685ff7739
2015-03-24 21:31:46 +00:00
David Burns
3813654736 Bug 1143565: Bump marionette driver to v 0.3.1; r=chmanchester
--HG--
extra : rebase_source : ba132e5ac13888582297e06097aa1531f5c72c11
2015-03-24 21:31:33 +00:00
David Anderson
c6bf2fb124 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
Jonathan Griffin
d3ec1cd8da Bug 1121577 - Unset pref at delete_session, r=dburns 2015-03-18 10:07:57 -07:00
Ryan VanderMeulen
4355764776 Backed out 16 changesets (bug 1107706) for Gaia JS integration test failures.
Backed out changeset d026794b4c0b (bug 1107706)
Backed out changeset bb481b2d170a (bug 1107706)
Backed out changeset 71eba829a8b4 (bug 1107706)
Backed out changeset 3ca5a996676e (bug 1107706)
Backed out changeset 18c48c6a0cd5 (bug 1107706)
Backed out changeset 5dce917aeb92 (bug 1107706)
Backed out changeset 933d7aa1c709 (bug 1107706)
Backed out changeset 0c6e1484ae7a (bug 1107706)
Backed out changeset 9972f443d70e (bug 1107706)
Backed out changeset 20f9b7b24fc5 (bug 1107706)
Backed out changeset 1f4ba5b0fc4f (bug 1107706)
Backed out changeset a4a8e755d815 (bug 1107706)
Backed out changeset 593a7917f917 (bug 1107706)
Backed out changeset 502320aec21f (bug 1107706)
Backed out changeset 60b58aed6d27 (bug 1107706)
Backed out changeset c8315bbbc104 (bug 1107706)

CLOSED TREE

--HG--
rename : testing/marionette/actions.js => testing/marionette/marionette-actions.js
rename : testing/marionette/common.js => testing/marionette/marionette-common.js
rename : testing/marionette/elements.js => testing/marionette/marionette-elements.js
rename : testing/marionette/frame-manager.js => testing/marionette/marionette-frame-manager.js
rename : testing/marionette/listener.js => testing/marionette/marionette-listener.js
rename : testing/marionette/sendkeys.js => testing/marionette/marionette-sendkeys.js
rename : testing/marionette/simpletest.js => testing/marionette/marionette-simpletest.js
2015-03-24 13:54:55 -04:00
James Graham
d010a52681 Bug 1092458 - Disable drawFocusIfNeeded tests for instability on Windows, (CLOSED TREE) r=RyanVM 2015-03-24 17:42:41 +00:00
Andreas Tolfsen
53cbc0626e Bug 1107706: Part 16: Fix rebase of action chains for chrome space
--HG--
extra : rebase_source : 82f95f1fd1e7eda093148bd4d0f7bdc1525cc8d2
2015-03-24 15:35:58 +00:00
Andreas Tolfsen
2bff29ff8d Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG--
extra : rebase_source : e3dcb40c14fea6e1edc5e13455bf2bc0b46d4739
extra : source : 3c25064e24da9f96ee02e71dfc1c9bde4c6dec38
2015-03-23 15:40:51 +00:00
Andreas Tolfsen
6563f49f1e Bug 1107706: Part 14: Fix quitApplication
--HG--
extra : rebase_source : e52bef6c94e0410c8f227e6a13b9e7a34b8fcc02
extra : source : 3b7cdf06f4b96ee708c5fc2573cebda852627568
2015-03-20 20:44:17 +00:00
Andreas Tolfsen
55db85fbe5 Bug 1107706: Part 13: Style fixes
Linting; no functional changes.

--HG--
extra : rebase_source : 773765e663871a46f6b280510b92f71638aff170
extra : source : ec2b1317d3c6389826da0e8e8c12176ff2cf9eeb
2015-03-23 20:43:18 +00:00
Andreas Tolfsen
7fffd2bbd2 Bug 1107706: Part 12: Drop marionette-* prefix on files
--HG--
rename : testing/marionette/marionette-actions.js => testing/marionette/actions.js
rename : testing/marionette/marionette-common.js => testing/marionette/common.js
rename : testing/marionette/marionette-elements.js => testing/marionette/elements.js
rename : testing/marionette/marionette-frame-manager.js => testing/marionette/frame-manager.js
rename : testing/marionette/marionette-listener.js => testing/marionette/listener.js
rename : testing/marionette/marionette-sendkeys.js => testing/marionette/sendkeys.js
rename : testing/marionette/marionette-simpletest.js => testing/marionette/simpletest.js
extra : rebase_source : 5eb61551c11d1ff94eb86b18bbd1f98da93d648a
extra : source : 91b35cb3308bc80d736e63434f9702e73115c41f
2015-03-23 21:32:03 +00:00
Andreas Tolfsen
7dc914a462 Bug 1107706: Part 11: Global modal dialogue support
--HG--
extra : rebase_source : f5b23b9604b0139284e61755d5c881f7c26a3f8b
extra : source : 43c58b21251ffbbdfe695b4d2d2a2d5587356b41
2015-03-20 15:46:46 +00:00
Andreas Tolfsen
b74b17df62 Bug 1107706: Part 10: Disable test_anonymous_content.py on B2G
It uses chrome context to test XUL related functionality that is not
necessary nor desirable to run on B2G.

--HG--
extra : rebase_source : f247c8b40325b682adaedea7b0812ede57438cf4
extra : source : e3ddaf8aae394231f40db79ba38d7bd8e19f2d8c
2015-03-11 17:10:18 +00:00
Andreas Tolfsen
cc7693db17 Bug 1107706: Part 9: Disable XUL component tests on B2G
--HG--
extra : rebase_source : 9a580f563478e03c2b7319270ea115158c14f534
extra : source : 0cd696bfc3b04584c557d0647911483d54e42ab1
2015-03-12 18:12:05 +00:00
Andreas Tolfsen
443a731154 Bug 1107706: Part 8: Adapt emulator callbacks
Emulator callbacks are now created dynamically upon request, and uses
a nicer data structure in chrome context.  Each emulator callback is
encapsulated in EmulatorCallback, and stored on Emulator.

Emulator is stored on Dispatcher (as opposed to in marionette-server.js)
which bypasses some of the problems with circumventing the Marionette
protocol in GeckoDriver because of CommandProcessor.

Emulator callbacks to the client should be considered transparent, hence
they do not use the ListenerProxy.  They are explicitly meant _not_
to be blocking.

--HG--
extra : rebase_source : 9e887526af99c02036575e5c7b6790629d5f917d
extra : source : eeb3d39874b17e02888427afb9709f35abc95120
2015-03-17 16:10:58 +00:00
Andreas Tolfsen
04cfbfd5fe Bug 1107706: Part 7: Add timeout test for async scripts
--HG--
extra : rebase_source : 3f5deabd1711a258b800a7a3995f7738ced4f86d
extra : source : 7bc309f733fa896e75f42e190f5f56f59bb74e05
2015-02-26 17:41:54 +00:00
Andreas Tolfsen
d51fbe3415 Bug 1107706: Part 6: Make SpecialPowersError a prototypal Error
If special powers is imported using Components.utils.import on B2G which
has some special concepts around global scoping, a TypeError will be
raised unless the custom error is a prototypal Error.

An explanation can be found for a similar issue in bug 843892, which
states that toString is attached to the instances rather than the
prototype, and that this causes problems once the object goes through
Object.freeze.  It was patched in bug 1014484.

This patch also renames SpecialPowersException to SpecialPowersError.

--HG--
extra : rebase_source : 1d8858967fc83ab5082e55bafef58c83baf1cc80
extra : source : 69669d0e6ddcaa2b16d69f96750c50f694247271
2015-02-26 17:40:21 +00:00
Andreas Tolfsen
bd8f7a8359 Bug 1107706: Part 5: Refactor Marionette chrome/content communication
The Marionette server handles requests separately with a global sense
of state which makes it hard to introduce generalised behaviour to many
commands.  This effectively slows down protocol implementation because
each command request individually needs to do heavy lifting.

This patch introduces a series of abstractions that separates out the
WebDriver implementation to a new class, GeckoDriver.  It also features
a new interface to mediate messages between the chrome- and content
processes.

This allows the code living in the chrome context to make direct calls
on the listener through a promise-based API:

	let listener = new ListenerProxy(mm, sendCallback);
	let res = yield listener.functionOnListener("arg1", "arg2");

The MarionetteServer class that used to live in marionette-server.js
has now been moved to server.js, while the WebDriver implementation
has moved to driver.js.  By introducing more stringent separation,
MarionetteServer now properly encapsulates the server process allowing
us to unit tests for it in the future.

The patch is a refactor in the truest sense, in the meaning that no
input or output should have changed.

--HG--
extra : rebase_source : 72c68105df19dc1e328f78c6bfb2282b61d82c8d
extra : source : 7f506cdb77b88994ba9f5b13cc936a99a403f1fb
2015-03-19 21:12:58 +00:00
Andreas Tolfsen
2db8cf1de0 Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
The dispatcher is analogous to the client socket connection, and handles
receiving packets and closing connections.

It also encompasses some of the functionality needed to establish the
devtools and Marionette connection, that previously used to live in
MarionetteServerConnection in marionette-server.js.

For each connection, recognised commands will be forwarded to the command
processor (command.js) unless a handler is defined in Dispatcher.requests.

--HG--
extra : rebase_source : a86a768323f9cf9450bc17a3b105265440e2c861
extra : source : 7abef4010b3094d3f276fc16cfbae43b55da7b0d
2015-03-18 12:27:29 +00:00
Andreas Tolfsen
a9889b9f31 Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.

--HG--
extra : rebase_source : 9e66199b7977528345680eb8170a082156286b8b
extra : source : b0d00faceef4e348cc99c020f01d59c7933677b7
2015-03-17 14:49:27 +00:00
Andreas Tolfsen
1c95ea3e71 Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.

--HG--
extra : rebase_source : 9b03a17a9568c98c79461effa39da5d42aaf4d26
extra : source : 0c074cdc434e3c8ba412db44aece7b1840198fe5
2015-03-17 14:27:20 +00:00
Andreas Tolfsen
f8edb38333 Bug 1107706: Part 1: Change context from strings to enum
--HG--
extra : rebase_source : 3d83084b53778dbf272c3403977475afdb8fd605
extra : source : 3b449f8dd470a2cc866c302f527e20bedaadb786
2015-02-25 21:11:51 +00:00
Chris Cooper
e8c5b4048b Bug 1146855 - Add cygwin dlls to manifest for minidump_stackwalk - r-ted 2015-03-24 11:46:30 -04:00
Mike Shal
dbdfa2d1f6 Bug 1117960 - bump mozharness.json to rev 93f17b170f43; r=jlund 2015-03-23 09:42:38 -04:00
Giovanny Andres Gongora Granada
241d879037 Bug 1118313 - newSession looks for non-conforming session_id property on Command. r=dburns 2015-03-23 19:56:00 -04:00
Wes Kocher
954df9f7bc Backed out 15 changesets (bug 1107706) for marionette bustage CLOSED TREE
Backed out changeset 3c25064e24da (bug 1107706)
Backed out changeset 3b7cdf06f4b9 (bug 1107706)
Backed out changeset ec2b1317d3c6 (bug 1107706)
Backed out changeset 91b35cb3308b (bug 1107706)
Backed out changeset 43c58b21251f (bug 1107706)
Backed out changeset e3ddaf8aae39 (bug 1107706)
Backed out changeset 0cd696bfc3b0 (bug 1107706)
Backed out changeset eeb3d39874b1 (bug 1107706)
Backed out changeset 7bc309f733fa (bug 1107706)
Backed out changeset 69669d0e6ddc (bug 1107706)
Backed out changeset 7f506cdb77b8 (bug 1107706)
Backed out changeset 7abef4010b30 (bug 1107706)
Backed out changeset b0d00faceef4 (bug 1107706)
Backed out changeset 0c074cdc434e (bug 1107706)
Backed out changeset 3b449f8dd470 (bug 1107706)

--HG--
rename : testing/marionette/actions.js => testing/marionette/marionette-actions.js
rename : testing/marionette/common.js => testing/marionette/marionette-common.js
rename : testing/marionette/elements.js => testing/marionette/marionette-elements.js
rename : testing/marionette/frame-manager.js => testing/marionette/marionette-frame-manager.js
rename : testing/marionette/listener.js => testing/marionette/marionette-listener.js
rename : testing/marionette/sendkeys.js => testing/marionette/marionette-sendkeys.js
rename : testing/marionette/simpletest.js => testing/marionette/marionette-simpletest.js
2015-03-23 18:48:07 -07:00
Wes Kocher
e31cda410a Backed out changeset 3f4f37b1b910 (bug 1143565) for web platform test failures due to pypi download errors CLOSED TREE 2015-03-23 18:36:15 -07:00
Wes Kocher
aca3b4d7bf Backed out changeset 8673899b8229 (bug 1143565) 2015-03-23 18:35:46 -07:00
Andreas Tolfsen
1d8f5a8b04 Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG--
extra : rebase_source : c688926fa68751405406483fd420180e87415798
2015-03-23 15:40:51 +00:00
Andreas Tolfsen
208b570e6c Bug 1107706: Part 14: Fix quitApplication
--HG--
extra : rebase_source : a2fb0d0d8e64cfa6e3801f454858cdfa45d05b2d
2015-03-20 20:44:17 +00:00
Andreas Tolfsen
4cd49ffb2d Bug 1107706: Part 13: Style fixes
Linting; no functional changes.

--HG--
extra : rebase_source : d354ee2aaa5d16774e23b75946c3cfecb9d22624
2015-03-23 20:43:18 +00:00
Andreas Tolfsen
82d54fa5b0 Bug 1107706: Part 12: Drop marionette-* prefix on files
--HG--
rename : testing/marionette/marionette-actions.js => testing/marionette/actions.js
rename : testing/marionette/marionette-common.js => testing/marionette/common.js
rename : testing/marionette/marionette-elements.js => testing/marionette/elements.js
rename : testing/marionette/marionette-frame-manager.js => testing/marionette/frame-manager.js
rename : testing/marionette/marionette-listener.js => testing/marionette/listener.js
rename : testing/marionette/marionette-sendkeys.js => testing/marionette/sendkeys.js
rename : testing/marionette/marionette-simpletest.js => testing/marionette/simpletest.js
extra : rebase_source : 4508c93a8928f3b183076cfbf49690faafd4b880
2015-03-23 21:32:03 +00:00