Commit Graph

2290 Commits

Author SHA1 Message Date
David Chan
8edcfe987a Bug 808734 - Fix permissions expansion and add unit test. r=ddahl, r=gwagner 2012-11-06 15:52:13 -08:00
Ryan VanderMeulen
6d0fd9cfd7 Backout b9ec1725a5e2 (bug 809437) for frequent b2g bustage. 2012-11-07 20:58:14 -05:00
Andrew Halberstadt
70d974d9be Bug 809437 - Stop b2g process before installing gecko into an emulator, r=jgriffin 2012-11-07 15:55:01 -08:00
Andrew Halberstadt
5d55002797 Bug 809437 - Ensure b2g process has fully stopped before restarting it when installing gecko into an emulator, r=jgriffin 2012-11-07 10:15:17 -08:00
Ehsan Akhgari
51201d2f10 Merge mozilla-central into mozilla-inbound 2012-11-06 20:16:41 -05:00
Gregory Szorc
cb927ab20b Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Phil Ringnalda
25dedca379 No bug - Update revision of Jetpack code used in Firefox to fix two tests. r=kwierso 2012-11-05 23:08:40 -08:00
Andrew Halberstadt
638ef460b8 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
William Lachance
333ab4bd84 Bug 808719 - Mirror over mozdevice 0.14;r=jmaher 2012-11-05 15:18:54 -08:00
Ed Morley
33e0ad4927 Bug 536603 - Disable test_css_cross_domain.html on Android for too many intermittent failures 2012-11-06 22:26:56 +00:00
Andrew Halberstadt
e0ed6ab143 Bug 800102 - Retry adb push if it times out while installing gecko, r=jgriffin 2012-11-06 13:06:38 -08:00
David Rajchenbach-Teller
dca36f6ddf Bug 808428 - Testing that OS.File can be called from xpcshell. r=nfroyd
--HG--
extra : rebase_source : 6dfc9107c4ff2453b47a3df528ca8d0037b91cf8
2012-11-05 07:59:00 -08:00
Jonathan Griffin
7e5010026c Bug 804366 - Include test names in failure messages v0.3, r=ahal 2012-10-31 15:36:57 -07:00
Malini Das
73d172b183 Bug 801703 - enable switching to nested OOP frame, r=jgriffin, a=NPOTB 2012-11-06 10:54:09 -08:00
Andrew Halberstadt
79979d8ec6 Bug 808783 - Disable failing Mn tests, r=jgriffin 2012-11-06 09:17:39 -08:00
Geoff Brown
c2f67ca68f Bug 808725 - Pass -m and -n to xpcshell when running xpcshell-tests-remote; r=jmaher 2012-11-06 04:44:02 -07:00
Geoff Brown
3988d0453c Bug 808728 - Log remote environment vars correctly; r=jmaher 2012-11-06 04:43:58 -07:00
Ed Morley
67dc3d5d56 Bug 808545 - Tweak the exception message for runxpcshelltests.py profile cleanup failures; r=gps 2012-11-05 18:29:20 +00:00
Ed Morley
157e0ef0a7 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
f59e1aeec2 Bug 808441 - Enable dom/base mochitests for B2G, a=test-only 2012-11-04 15:24:53 -08:00
Philipp von Weitershausen
8a0276e5bb Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
Ryan VanderMeulen
d716366c32 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Dão Gottwald
5b3ee5260f Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-02 03:46:56 +01:00
Jonathan Griffin
4aa3749ab1 Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Chris Jones
54335e88a7 Bug 807478 - fix timeout argument to waitFor(), r=cjones 2012-10-31 23:51:30 -07:00
Josh Aas
4c7422ffc4 Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Ryan VanderMeulen
713bb812f1 Merge m-c to inbound. 2012-10-31 20:19:27 -04:00
Doug Turner
2c40fe1d13 Bug 805178 - Device Storage - Add tests to ensure Application Permissions match that of the Permission Matrix. r=jmaher 2012-10-31 10:06:51 -07:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Ed Morley
2d040f49fc Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-31 14:06:39 +00:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Jonathan Griffin
916b4da168 Bug 807137 - Exclude test_innerWidthHeight from B2G testruns, since it times out, a=test-only, DONTBUILD(NPOTB) 2012-10-30 15:55:11 -07:00
Justin Lebar
835ba529a7 Backed out changeset 8bc60d1ab725 (bug 806168) 2012-10-30 21:35:08 -04:00
Justin Lebar
f67a0fa17e Bug 806168 - Follow-up: Disable tests on Android. r=me
The test that I renamed in this bug was already disabled on Android, so this does nothing new.
2012-10-30 18:22:37 -04:00
Geoff Brown
03a8e4e488 Bug 799863 (3/3) - use dm.pushFile(file, dir/file) instead of dm.pushFile(file, dir); r=wlach 2012-10-30 15:21:43 -06:00
William Lachance
6ba779efaa Bug 799863 (2/3) - Guard against an exception occurring before process is defined in xpcshell tests;r=gbrown
---
 testing/xpcshell/runxpcshelltests.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2012-10-16 16:32:33 -04:00
William Lachance
f3518f5541 Bug 799863 (1/3) - Make sure remote xpcshell tests can find mozdevice;r=gbrown
---
 config/makefiles/xpcshell.mk        |    1 +
 js/src/config/makefiles/xpcshell.mk |    1 +
 testing/testsuite-targets.mk        |    1 +
 3 files changed, 3 insertions(+)
2012-10-16 16:28:49 -04:00
Gregory Szorc
eb2701ecef Bug 807861 - Ensure state directory is present before running tests; r=rnewman
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : fd66449c11968269d33eff3f686f22a8767b6898
2012-11-02 10:32:40 -07:00
Jonathan Griffin
9ad0989d2c Bug 807817 - Dump Marionette logs as well as writing to logfile, r=philikon 2012-11-01 14:49:15 -07:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Sam Garrett
85ccd74818 Bug 771554 - Removing autolog and having tps write-out results to JSON so that coversheet can handle them, r=jgriffin, DONTBUILD(NPOTB) 2012-10-27 17:42:25 -04:00
Ryan VanderMeulen
043db7616b Backout e35f252ca573 for mochitest-other orange.
CLOSED TREE

--HG--
extra : rebase_source : 62e15f7306c4443d91daf6af66be9b7012ada9cc
2012-11-01 19:31:02 -04:00
Al Tsai
78d5b9d481 Bug 805539 - Prevent effect from default values and network geolocation provider. r=dougt 2012-11-01 19:23:14 -04:00
Ryan VanderMeulen
0aa6d668d3 Merge m-c to inbound. 2012-11-01 19:23:07 -04:00
Dão Gottwald
6d4b82ba46 Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-01 22:00:35 +01:00
Gregory Szorc
b50521c910 Bug 795772 - More mach options to control xpcshell test execution; r=ted
DONTBUILD (NPOTB)
2012-10-31 10:29:26 -07:00
Jonathan Griffin
0ab777a362 Bug 800102 - Work around adb deadlock when installing gecko in emulator, r=ahal 2012-10-30 12:26:50 -07:00
Ryan VanderMeulen
5fb0de670c Merge inbound to m-c. 2012-10-27 16:39:23 -04:00