Commit Graph

8234 Commits

Author SHA1 Message Date
Ted Mielczarek
42b3656093 bug 1201224 - stop unifying test package during mac universal builds. r=gps 2015-09-02 15:32:58 -04:00
John Dai
dc3b1581a2 Bug 1179143 - Detect android_version for marionette-webapi tests. r=ato 2015-09-07 23:49:00 +02:00
Shing Lyu
df9b1207f5 Bug 1166239 - Free result_modifiers so the MarionetteTestResult object will not leak. r=ato 2015-09-07 15:12:35 +08:00
Gian-Carlo Pascutto
a87ceb68d3 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Andreas Tolfsen
c324053c1c Bug 1153822: Adjust Marionette responses to match WebDriver protocol
Introduce protocol version levels in the Marionette server.
On establishing a connection to a local end, the remote will return a
`marionetteProtocol` field indicating which level it speaks.

The protocol level can be used by local ends to either fall into
compatibility mode or warn the user that the local end is incompatible
with the remote.

The protocol is currently also more expressive than it needs to be and
this expressiveness has previously resulted in subtle inconsistencies
in the fields returned.

This patch reduces the amount of superfluous fields, reducing the
amount of data sent.  Aligning the protocol closer to the WebDriver
specification's expectations will also reduce the amount of
post-processing required in the httpd.

Previous to this patch, this is a value response:

    {"from":"0","value":null,"status":0,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}"}

And this for ok responses:

    {"from":"0","ok":true}

And this for errors:

    {"from":"0","status":21,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}","error":{"message":"Error loading page, timed out (onDOMContentLoaded)","stacktrace":null,"status":21}}

This patch drops the `from` and `sessionId` fields, and the `status`
field from non-error responses.  It also drops the `ok` field in non-value
responses and flattens the error response to a simple dictionary with the
`error` (previously `status`), `message`, and `stacktrace` properties,
which are now all required.

r=jgriffin
2015-05-21 11:26:58 +01:00
Andreas Tolfsen
e1f94f209f Bug 1162515: Remove FrameSendFailureError and FrameNotInitializedError
Removes FrameSendFailureError and FrameNotInitializedError from the
Marionette Python client.

r=davehunt
2015-05-07 17:18:05 +01:00
Vaibhav Agrawal
9b93729c35 Bug 1163797 - Removing CommandArguments decorators from marionette-test mach command and making it use argparse from test harness. r=ahal 2015-09-02 15:57:25 -07:00
Peter Moore
a0f898fc22 Bug 1194767 - use slugid 1.0.6 in ./mach taskcluster-graph command. r=wcosta
This included adding the slugid 1.0.6 python source code in /python since slugid
is now a dependency of the ./mach taskcluster-graph command, as well us updating
references that used it. Previously the implementation was in-tree.
2015-09-04 17:59:34 +02:00
Phil Ringnalda
52c00cb549 Merge m-i to m-c, a=merge 2015-09-05 20:19:43 -07:00
Julien Pagès
65d4b6e59d Bug 1201511 - [mozrunner] require mozprocess >=0.22 and bump mozrunner version to 6.10. r=ahal 2015-09-05 12:17:22 +02:00
Nick Fitzgerald
ec3682f9b3 Bug 1200446 - Add a method for saving heap snapshots to MemoryActor; r=jryans 2015-09-04 18:36:52 -07:00
Wes Kocher
f8ff1e61cb Merge inbound to central, a=merge 2015-09-04 15:34:42 -07:00
Bill McCloskey
76e83b0cee Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-04 09:45:01 -07:00
Bill McCloskey
5fe87365b7 Bug 1199800 - [webext] Allow extensions to be used from chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Bill McCloskey
6009269655 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Bill McCloskey
0fe167811d Bug 1199800 - [webext] Refactoring to support using extensions from chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Carsten "Tomcat" Book
f388116862 Merge mozilla-central to b2g-inbound 2015-09-04 16:21:48 +02:00
Carsten "Tomcat" Book
ac239d2e35 merge mozilla-inbound to mozilla-central a=merge 2015-09-04 16:05:11 +02:00
Carsten "Tomcat" Book
c8fb1255f1 Backed out 11 changesets (bug 1201377, bug 1199800, bug 1197437, bug 1199832, bug 1199698, bug 1199842) for breaking browser_ext_tabs_executeScript.js test on a CLOSED TREE
Backed out changeset 8d8d73d3c3e1 (bug 1201377)
Backed out changeset 4ed8951e3f54 (bug 1199842)
Backed out changeset 5830178bc008 (bug 1199832)
Backed out changeset 4445c570fe49 (bug 1199698)
Backed out changeset 35fc1e25d167 (bug 1199800)
Backed out changeset 54c4c3bd2454 (bug 1199800)
Backed out changeset bd3112ce6b9b (bug 1199800)
Backed out changeset 701e56e18ca7 (bug 1199800)
Backed out changeset 4407d50a7995 (bug 1199800)
Backed out changeset af2fbe345712 (bug 1199800)
Backed out changeset 0a41d20fcf77 (bug 1197437)
2015-09-04 09:59:34 +02:00
Wes Kocher
2984ba8632 Merge m-c to b2ginbound, a=merge 2015-09-03 14:11:39 -07:00
Wander Lairson Costa
ee3d8c6621 Bug 1200688: Support --interactive command line option r=jonasfj
taskcluster-graph and taskcluster-build mach command now has the
--interactive option and try supports the "-i" flag.

This makes all tasks interactive.
2015-09-03 17:08:50 -03:00
Wes Kocher
fe668d4b0a Backed out changeset eaa34e557496 (bug 1201511) for landing too early CLOSED TREE 2015-09-03 09:29:25 -07:00
Carsten "Tomcat" Book
bab23a9d3c Backed out changeset b317ee483a64 (bug 1107372) for causing test failures in test_home_provider.html 2015-09-03 17:02:20 +02:00
Julien Pagès
40a6838e85 Bug 1201511 - [mozrunner] require mozprocess >=0.22 and bump mozrunner version to 6.10. r=ahal 2015-09-03 16:16:06 +02:00
Carsten "Tomcat" Book
916718880d Merge mozilla-central to mozilla-inbound 2015-09-04 16:14:00 +02:00
Dustin J. Mitchell
3ee0653bd9 Bug 1189892: build on CentOS 6.<latest>; r=glandium r=mrrrgn
Introduces a centos6-builder image and refactors desktop-build to use it.
(64-bit only)
2015-09-01 10:45:21 -04:00
Gian-Carlo Pascutto
88e8796590 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-03 15:36:06 +02:00
Karl Tomlinson
d6efef2ca6 revert 521e2b4d97b8 given workaround from bug 1193922 2015-09-01 18:38:07 +12:00
Kyle Huey
db6d9eca1f Bug 1200884: Make postmessage-to-client.https.html pass. r=jdm 2015-09-02 17:17:09 -07:00
Kyle Huey
e75a8146c7 Bug 1200843: Make fetch-mixed-content tests pass. r=jdm 2015-09-02 17:17:01 -07:00
Julien Pagès
e7a3bb7435 Bug 1187082 - Ensure talos always produces TALOSDATA json structure in logs so perfherder can ingest data. r=wlach
This synchronise the TALOSDATA regex with the one used in perfherder.
Also this ensure that we only see that message once.
2015-09-02 22:52:11 +02:00
Geoff Brown
0a57f6b45b Bug 1196814 - Fail Android mochitest, robocop, reftests when Fennec is not installed; r=jmaher 2015-09-02 14:20:01 -06:00
Andrew Halberstadt
1261efb9d2 Bug 1201195 - [mozrunner] Fix IndexError on B2G when running without a build (or bindir), r=armenzg
There is an assumption in application.py that there exists a build with a valid bindir. This directory
doesn't exist if no build exist. Before now, this code path hasn't been a problem as it was only used
with built emulators. But now gaia is starting to use it and there might not even be a B2G repo at all!
2015-09-02 14:58:35 -04:00
David Anderson
deaa78a29f Add a test case for bug 1193557, r=kats. 2015-09-04 17:18:11 -07:00
Wes Kocher
04635eaf3a Merge m-c to inbound, a=merge 2015-09-04 15:41:19 -07:00
Joel Maher
8a4cfee7ec Bug 1201910 - remove other_nol64 and other_l64 and replace with other. r=jgriffin 2015-09-04 15:56:43 -04:00
Hsin-Yi Tsai
ab4c9dfe8d Bug 1196651 - Consider to disable emulator-kk (arm-based) tests on Treeherder. r=garndt 2015-08-24 11:06:09 +08:00
Nikhil Marathe
feaff3b3e8 Bug 1180737 - Add update-test.py and update test to latest version. r=bkelly.
Added update-test.py which is a conversion of Blink update-test.php to deliver workers with different mime types.
Updated test file to latest version to check for SecurityError.
Dealt with the usual waiting/active issue.
Update web-platform-tests expected data
2015-08-31 18:56:21 -07:00
Bill McCloskey
1795b9d2fc Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-03 20:59:03 -07:00
Bill McCloskey
c3b3c11657 Bug 1199800 - [webext] Allow extensions to be used from chrome tests (r=gabor) 2015-09-03 20:59:02 -07:00
Bill McCloskey
7fd166cee3 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-03 20:59:01 -07:00
Bill McCloskey
5d2721b3d5 Bug 1199800 - [webext] Refactoring to support using extensions from chrome tests (r=gabor) 2015-09-03 20:59:01 -07:00
Carsten "Tomcat" Book
1bab97859c Backed out 4 changesets (bug 1201050) for marionette test bustage on a CLOSED TREE
Backed out changeset ff3a5e493a9f (bug 1201050)
Backed out changeset 3c9da85eaf6a (bug 1201050)
Backed out changeset 6a443c2a3482 (bug 1201050)
Backed out changeset 3e79580a76a2 (bug 1201050)
2015-09-04 13:41:05 +02:00
Andreas Tolfsen
f9f8845229 Bug 1201050: Part 4: Use dispatcher for listener mutliAction
r=dburns
2015-09-02 14:04:58 +01:00
Andreas Tolfsen
e7ed0b7213 Bug 1201050: Part 3: Unbreak test by using correct imports
Do note that this test is disabeld in the manifest.

r=dburns
2015-09-02 14:04:10 +01:00
Andreas Tolfsen
f43492e1ab Bug 1201050: Part 2: Use dispatcher for listener actionChain
r=dburns
2015-09-02 13:36:03 +01:00
Andreas Tolfsen
33936eb7d7 Bug 1201050: Part 1: Use dispatcher for listener singleTap
r=dburns
2015-09-02 13:23:28 +01:00
Ted Mielczarek
39b7012272 bug 1201012 - update minidump_stackwalk binaries to ones built from stackwalk-http code. r=jgriffin 2015-09-02 12:44:46 -04:00
Ted Mielczarek
032f510afb bug 1201012 - Update minidump_stackwalk taskcluster build script to build stackwalk-http as the minidump_stackwalk for testing (NPOTB) 2015-09-02 12:19:23 -04:00
Julien Pagès
a4e33c21ce Bug 1200975 - [mozrunner] mozrunner>6.7 don't show the crash window. r=whimboo 2015-09-02 13:09:10 +02:00