Commit Graph

2460 Commits

Author SHA1 Message Date
Ed Morley
e01730fa5e Bug 798220 - Disable test_xhr_timeout.html on Android for intermittent failures 2012-11-12 14:44:10 +00:00
Gregory Szorc
0a500be5e5 Bug 809071 - Sleep after failure to delete profile directory; r=ted
This should hopefully solve the problem of IOError when deleting profile
directories.

This also cleans up the temporary code added in bug 799532.
2012-11-12 14:19:22 +00:00
Wes Kocher
d50b26e204 No bug - Update revision of jetpack code used in Firefox's test suite to pick up a test fix. r=kwierso 2012-11-11 10:21:56 -08:00
Brian Smith
d79b8dcdb8 Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao 2012-11-10 20:49:44 -08:00
Brian Smith
7781a26273 backout cset 30f8e29f9cd1 due to orange 2012-11-10 19:08:26 -08:00
Brian Smith
d6580050c0 Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao
--HG--
extra : rebase_source : b6216bf3163f63f1eb4f16901943d9f351bca2cf
2012-11-10 18:19:55 -08:00
Brian Smith
20fdba1c78 Bug 804441: Put our NSPR and NSS header wrappers before OS_INCLUDES, r=ted
This allows inline functions in headers to call NSPR/NSS functions without
causing linking errors.

--HG--
extra : rebase_source : f89df8a53d6e8f624c84fc3b84982c4dd92d5f38
2012-10-24 14:31:54 -07:00
Justin Lebar
114ec5cd8d Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-10 10:32:38 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
8c926613e7 Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Jonathan Griffin
2ea2f6e5b5 Bug 810421 - Add --tree arg to Marionette, r=ahal 2012-11-09 11:20:51 -08:00
Andrew Halberstadt
336d764b8c Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -08:00
Mounir Lamouri
58aa0a96d8 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Jonathan Griffin
ab213ea44a Bug 810025 - Remove noisy log messages, r=ahal 2012-11-08 14:02:52 -08:00
Ryan VanderMeulen
3837f3fb3e Backout 53d5080a6749 (bug 809437) for b2g mochitest orange.
CLOSED TREE
2012-11-08 17:25:53 -05:00
David Burns
0fbf32ca8b Bug 801733: Updating isElementDisplayed Atom to handle hiding elements via transforms; r=jgriffin 2012-11-08 20:58:17 +00:00
David Burns
a2a40cb309 Bug 801733: Adding a whole bunch of visibility tests for Marionette; r=jgriffin 2012-11-08 20:56:48 +00:00
Andrew Halberstadt
0de5bee277 Bug 809437 - Copy gecko files to /data/local prior to copying them to /system/b2g, r=jgriffin 2012-11-08 11:59:46 -08:00
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
Jeff Hammel
189892eb1c Bug 805190 - document new procedure for mozbase mirroring and versioning;r=wlach ; DONTBUILD because NPOTB 2012-10-27 08:44:30 -07:00
Jonathan Griffin
c9a2af4575 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
Sam Garrett
90e7c8851a Bug 796998 - Use mozinstall instead of mozregression for TPS, r=jgriffin, DONTBUILD(NPOTB) 2012-10-24 17:42:08 -06:00
Markus Stange
9e63676c33 Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin 2012-10-26 15:40:11 -04:00
David Burns
3b5adc3d66 Bug 805635: making sure we close the file on import_script; r=mdas 2012-10-26 16:23:52 +01:00
Jeff Hammel
7453c1c485 Bug 805440 - Mozrunner installed from pypi when running setup_development.py;r=jgriffin
--HG--
extra : rebase_source : f34112c361a3b727913648a0cb593f8d966d43e1
2012-10-26 08:58:03 -07:00
Ryan VanderMeulen
130a50c2ca Merge m-c to inbound. 2012-10-25 17:43:19 -04:00
Jonathan Griffin
665ee0fcce Bug 805539 - Disable manifest.ini with no active tests, a=test-only, DONTBUILD(NPOTB) 2012-10-25 13:57:58 -07:00
David Burns
24a71b9c7e Bug 805403: Allow marionette to send keystrokes to elements without value attribute; r=mdas 2012-10-25 21:39:52 +01:00
Henrik Skupin
4019716055 Bug 805297 - Marionette doesn't recognize relative test path from current working directory. r=jgriffin 2012-10-25 16:30:32 -04:00
Jonathan Griffin
24a9559c46 Bug 803740 - Wait for system-message-listener-ready before installing new gecko, r=mdas 2012-10-25 07:09:19 -07:00
Jonathan Griffin
d9ea6690ec Bug 805216 - Add mozdevice to tests.zip, r=jhammel 2012-10-24 14:54:14 -07:00
Ryan VanderMeulen
ee4ed9d764 Merge m-c to inbound. 2012-10-24 14:07:16 -04:00
Jonathan Griffin
fc406ca6a7 Bug 805033 - Specify Marionette deps using >=, r=ahal, DONTBUILD(NPOTB) 2012-10-24 09:53:52 -07:00
William Lachance
e5adaff9ff Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Malini Das
5fbeaf5369 Bug 804562 - fix file permissions for marionette imported scripts, r=jgriffin 2012-10-24 11:36:43 -04:00
Jonathan Griffin
cbc1e86005 Bug 803254 - Detect emulator crashes, r=ahal, DONTBUILD(NPOTB) 2012-10-22 15:00:54 -07:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Joel Maher
147b7a7fd5 Bug 804388 - update a new talos.zip to remove misleading remote debugging messages. r=aki 2012-10-23 07:54:14 -04:00
David Burns
0a49a54f06 Bug 804289: bumped Marionette client version; r=jgriffin 2012-10-22 20:40:07 +01:00
Vicamo Yang
06c246d139 Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others, r=automatedtester 2012-10-23 00:08:44 +08:00
Vicamo Yang
43ced69e0f Backout 16190e59bc8f, no r= 2012-10-23 00:07:43 +08:00
Vicamo Yang
f3216b60d5 Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others. 2012-10-23 00:01:41 +08:00
Ryan VanderMeulen
a7934ae4c3 Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Jonathan Griffin
72eff332fd Bug 803745 - Package b2g.json in tests.zip, r=jmaher 2012-10-19 17:19:22 -07:00
David Burns
24a17d4186 Bug 800956: adding the ability to get the size of elements to marionette; r=mdas 2012-10-19 21:59:15 +01:00
David Burns
d7427cea5c Bug 803096: add the ability to get an elements location with marionette; r=mdas 2012-10-19 21:35:30 +01:00
Jonathan Griffin
4ca039d2ec Bug 803253 - Only wait for system-message-listener-ready on emulator startup, r=mdas, DONTBUILD(NPOTB) 2012-10-18 13:19:21 -07:00
David Burns
a6a384cae1 Bug 802227: add --testvars to runner to accept JSON file with test data; r=jgriffin 2012-10-19 20:32:36 +01:00
David Burns
8207fffb4f Bug 801703: iframe elements instead of using window.frames; r=mdas 2012-10-19 19:46:58 +01:00
Joel Maher
b1719fa4c2 Bug 803308 - upload new talos.zip to capture enable privilege change. r=Callek 2012-10-18 20:19:29 -04:00
Joel Maher
7a21448ce5 Bug 773891 - Fix pushprefenv to support char/string types. r=jdm 2012-10-18 08:03:31 -04:00
Alfredos-Panagiotis Damkalis
c10523e8e1 Bug 799008: find_elements to not scope parents when searching with css in Marionette; r=dburns 2012-10-17 15:04:16 -07:00
Ryan VanderMeulen
ad56fd737f Merge m-c to inbound. 2012-10-17 22:29:53 -04:00
Ryan VanderMeulen
a1972707e0 Merge the last PGO-green inbound changeset to m-c. 2012-10-17 22:10:08 -04:00
Jonathan Griffin
491917c9a2 Bug 802877 - Delay a bit before setting default emulator geolocation, a=test-only, DONTBUILD(NPOTB) 2012-10-17 16:46:04 -07:00
Jonathan Griffin
f1b8efd548 Bug 793045 - B2G mochitest manifest for harness stabilization, r=jmaher, DONTBUILD(NPOTB) 2012-10-17 15:32:46 -07:00
Jonathan Griffin
ffaea4c395 Bug 802807 - Only listen for system-message-listener-ready for JS tests, r=mdas, DONTBUILD(NPOTB) 2012-10-17 15:14:51 -07:00
Jonathan Griffin
fc5ef27ae1 Bug 790677 - Fix xpcshell test packaging for B2G, r=ted 2012-10-17 15:12:41 -07:00
Ehsan Akhgari
2c5f5e810e Merge mozilla-central into mozilla-inbound 2012-10-16 20:43:47 -04:00
Jonathan Griffin
d767fa8f82 Bug 792647 - Wait for system-message-listener-ready on B2G before returning during newSession, r=philikon 2012-10-16 16:33:55 -07:00
Masayuki Nakano
8217ef94b6 Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Malini Das
bd8367bd7e Bug 802753 - remove assertIn so test_getstatus is python 2.6 compatible, r=jgriffin 2012-10-17 16:49:49 -04:00
Gregory Szorc
b8bea338d3 Bug 799532 - Print directory listings when profile directory could not be deleted; r=ted
This patch is intended to be temporary and should be removed once the
underlying problem is resolved.
2012-10-17 11:17:49 -07:00
Jeff Hammel
e18496a41d Bug 802242 - mirror mozbase -> m-c for week of Oct 16 @ aa50f7cf0f ; r=wlach 2012-10-17 09:44:50 -07:00
David Burns
61bfbaa26a Bug 784013: adding application cache helpers support to Marionette; r=jgriffin 2012-08-23 15:07:16 -07:00
Joel Maher
767e706cbc Bug 801633 - upload a new talos.zip to capture latest talos changes. r=armenzg 2012-10-16 13:25:24 -04:00
Joel Maher
7217f498ae Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Henrik Skupin
c316c36e49 Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup 2012-10-16 13:23:41 -04:00
Alfredos-Panagiotis Damkalis
b2b09feb78 Bug 755552 - add getStatus() call to marionette, r=mdas 2012-10-15 16:51:27 -07:00
Ted Mielczarek
9e74b8eee4 bug 811370 - runcppunittests doesn't handle hangs gracefully. r=ahal 2012-11-14 10:52:55 -05:00
Joel Maher
e612985ff1 Bug 811361 - Deploy new talos.zip for a1594c017230. r=armenzg 2012-11-14 09:57:46 -05:00
Wes Kocher
4a0460ffcd Bug 787346 - Update revision of Jetpack code used in Firefox tests to pick up the new SDK layout. 2012-10-15 14:31:35 -07:00
Joel Maher
55205d9eef Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
c321e288af Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
Joel Maher
60a769a792 Bug 801633 - upload a new talos.zip to capture latest talos changes. r=armenzg 2012-10-15 11:13:43 -04:00
William Lachance
3d699579d7 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
Joel Maher
b8e9d0187b Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2229b63364 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Ryan VanderMeulen
4ac86dc4bd Merge inbound to m-c. 2012-10-13 04:36:33 -04:00
Jeff Hammel
884b0385b0 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Jonathan Griffin
7994bbdde1 Bug 800641 - Add mozfile to mozbase packages in test.zip, r=jhammel 2012-10-11 16:44:11 -07:00
Al Tsai
48e17aba65 Bug 777983 - Add marionette test for b2g gps provider. r=dougt 2012-10-11 21:31:39 -04:00
Jonathan Griffin
9c6de4cec1 Bug 800102 - Make installing gecko on B2G emulator more reliable, r=ahal, DONTBUILD(NPOTB) 2012-10-11 12:07:34 -07:00
Ehsan Akhgari
5a7253fa1e Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Gregory Szorc
2bb5606ff3 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
97cce3a53e Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Ryan VanderMeulen
3747aa2326 Merge the last PGO-green inbound changeset to m-c. 2012-10-09 21:10:12 -04:00
Ehsan Akhgari
5150b5b605 Bug 799229 - Move the ForgetAboutSite modules to toolkit; r=Mossop
--HG--
rename : browser/components/privatebrowsing/src/ForgetAboutSite.jsm => toolkit/forgetaboutsite/ForgetAboutSite.jsm
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.html => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.js => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js
rename : browser/components/privatebrowsing/test/unit/downloads.empty.sqlite => toolkit/forgetaboutsite/test/unit/downloads.empty.sqlite
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain_activeDownloads.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain_activeDownloads.js
2012-10-08 16:48:11 -04:00
David Clarke
11417705ee Bug 797513 - Add geolocation class to Marionette emulator, r=jgriffin, DONTBUILD(NPOTB) 2012-10-09 15:50:09 -07:00
Ted Mielczarek
50d314a70a bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Jeff Hammel
15a9b46a49 Bug 799605 - Mirror mozbase -> m-c for bug 799288 and bug 799507 @ https://github.com/mozilla/mozbase/commit/ 36a2f63be33af799a54d7f1511dc922730b10b22 ; r=wlach 2012-10-10 09:27:06 -07:00
Ehsan Akhgari
d443b4f6a0 Bug 798508 - Part 1: Implement the "private" window.open feature; r=bzbarsky
This patch adds support for a "private" window flag which can be used to
open new chrome windows in private browsing mode.  It also tests to make
sure that the flag is not accessible from content.  A test in the next
part makes sure that the flag is accessible from chrome.
2012-10-07 15:04:39 -04:00
Bobby Holley
cb6ae4e8a3 Bug 794420 - Remove hard edge from SpecialPowers to window.Components. r=khuey
This causes us to leak every window ever, a la bug 722428.
2012-10-10 10:57:38 +02:00
Ed Morley
9c6425342d Bug 793855 - runxpcshelltests.py should catch shutil.rmtree(dirname) exceptions and output a TBPL-compatible error; r=gps 2012-10-07 21:21:52 +01:00
Ed Morley
cd0df9b353 Bug 793855 - runxpcshelltests.py should check the test process has exited and if not, output a TBPL-compatible error; r=gps,jmaher 2012-10-07 21:21:30 +01:00
Ms2ger
3ed6579510 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Wes Kocher
4a135e4649 No bug - Update Jetpack tests on mozilla-central to get current code before the Aurora merge. 2012-10-05 23:48:39 -07:00
Brian Nicholson
ea3698b8de Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Albert Crespell
6278d6dd5a Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Simon Montagu
25e8f55bc0 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
William Lachance
54d781abf7 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
c704d186dc Disable test_notifications_popup.html from bug 784028 on android since it's lacking PopupNotifications 2012-10-03 20:54:37 -07:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
325089208a Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Marshall Culpepper
f526c8c9e0 Bug 797154: A new virtualenv frontend for B2G mochitests. r=jgriffin 2012-10-03 12:50:07 -05:00
Jeff Hammel
ca4ac26851 Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
d37007e0cd Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach 2012-10-03 11:07:31 -04:00
Masatoshi Kimura
adbc1a4a51 Bug 795544 - Test updates. r=bz
--HG--
rename : dom/encoding/test/test-big5.js => dom/encoding/test/unit/test_big5.js
rename : dom/encoding/test/test-euc-jp.js => dom/encoding/test/unit/test_euc-jp.js
rename : dom/encoding/test/test-euc-kr.js => dom/encoding/test/unit/test_euc-kr.js
rename : dom/encoding/test/test-gbk.js => dom/encoding/test/unit/test_gbk.js
rename : dom/encoding/test/test-hz-gb-2312.js => dom/encoding/test/unit/test_hz-gb-2312.js
rename : dom/encoding/test/test-iso-2022-jp.js => dom/encoding/test/unit/test_iso-2022-jp.js
rename : dom/encoding/test/test-iso-2022-kr.js => dom/encoding/test/unit/test_iso-2022-kr.js
rename : dom/encoding/test/test-shift_jis.js => dom/encoding/test/unit/test_shift_jis.js
rename : dom/encoding/test/tests.js => dom/encoding/test/unit/test_singlebytes.js
2012-10-01 21:49:12 +09:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
David Rajchenbach-Teller
5eca5b886d Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Ryan VanderMeulen
690eed88f1 Merge m-c to inbound. 2012-10-02 16:38:45 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Jonathan Griffin
cff81b7364 Bug 796019 - Make Marionette smarter about registering frame scripts, r=mdas, DONTBUILD(NPOTB) 2012-10-02 10:37:47 -07:00
Gervase Markham
0958145486 Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
Vladimir Vukicevic
2864c47b46 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Jeff Hammel
63c7228bff Bug 795943 - Mirror mozbase -> m-c for week of Oct 1 @ 22aa0aee78;r=wlach
--HG--
extra : rebase_source : 389b6c3a2923c40167698b477e4d57b230b1a063
2012-10-01 14:00:55 -07:00
Justin Lebar
0a3747e9a8 Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD 2012-10-02 12:04:24 -04:00
Andrea Marchesini
418f096481 Bug 793310 - Support sms:, tel: and mailto: URI schemes, r=philipp 2012-10-01 11:28:01 -07:00
Andrew Halberstadt
c70983b039 Bug 685903 - Remove firebug automation from testing/firebug. r=jhammel 2012-09-26 11:07:07 -04:00
Phil Ringnalda
8aa24b1c1a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
ade20c6702 Bug 775116 - Fix frame switching to work with id, name, and remote frames, r=mdas, DONTBUILD(NPOTB) 2012-09-28 16:16:22 -07:00
Jonathan Griffin
5cad8381bb Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00
Bob Clary
9f3fa1ad30 Bug 789086 - use unique temporary filename for robotium.config file in mochitest/runtestsremote.py, r=jmaher. 2012-09-28 12:25:46 -07:00
Ryan VanderMeulen
e847944bfa Merge m-c to inbound. 2012-09-27 23:05:53 -04:00
Jonathan Griffin
8090c8ac01 Bug 789976 - Add --gecko-path argument to Marionette, r=ahal, DONTBUILD (NPOTB) 2012-09-27 13:47:17 -07:00
Jonathan Griffin
a64652743e Bug 794692 - Change Marionette's package name to marionette_client, r=mdas, DONTBUILD (NPOTB) 2012-09-27 10:42:37 -07:00
Isaac Aggrey
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Josh Matthews
1ce2adcc13 Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Malini Das
9651b3cf53 Bug 792084 - add shellCheckOutput command to devicemanager, r=wlach 2012-09-26 12:32:02 -04:00
Mounir Lamouri
45c2bff831 Bug 773373 part 6 - Disable tests on Android. r=sicking 2012-09-25 23:33:02 +01:00
Ed Morley
e184a68b82 Bug 793739 - mirror mozbase to m-c for week of Sept 24, 2012 @ b12b008846;r=jhammel 2012-09-25 09:35:14 -07:00
Jeff Hammel
ff5c764046 Bug 793746 - point to new talos.zip for dzclient;r=jmaher 2012-09-25 09:10:16 -07:00
Andrea Marchesini
b13172b91d Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Ted Mielczarek
66f76ddadc bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher 2012-09-13 15:43:28 -04:00
Wes Kocher
598e82ae4e Update Jetpack tests used in Firefox to pick up the fix for bug 793052. 2012-09-24 09:57:34 -07:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
515994bfb3 Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Wes Kocher
15458c720e Update Jetpack tests in Firefox to pick up bug 793035. 2012-09-21 13:44:04 -07:00
Ryan VanderMeulen
f0cedf0da3 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Jonathan Griffin
3544bd4f5c Bug 792173 - Add TEST-UNEXPECTED-FAIL output to Marionette, r=mdas, DONTBUILD because NPOTB 2012-09-20 15:09:57 -07:00
Jonathan Griffin
15c84b2b81 Bug 792945 - Remove datazilla from Marionette deps, r=mdas 2012-09-20 15:03:50 -07:00
Phil Ringnalda
8eac6cec70 Back out 1e7050c52cb9 (bug 792850), 776f7325952b (bug 705047), 2e1be0680e70 (bug 733501), 6adef296963c (bug 791775), b8397781f862 (bug 792391) for WinXP hangs and suspicion of breaking Android stacks 2012-09-20 14:38:14 -07:00
Jonathan Griffin
027abf8575 Bug 791346 - Fix Marionette shutdown problems on Windows, r=dburns, DONTBUILD because NPOTB 2012-09-20 11:13:42 -07:00
Wes Kocher
33920bbc8a Update Jetpack tests used in Firefox to fix bug 792269. 2012-09-19 16:41:49 -07:00
Ted Mielczarek
a930e3447c bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher
--HG--
extra : rebase_source : fbda47ca470ea6325aca5f99ab1a59fe911aafdd
2012-09-13 15:43:28 -04:00
Joel Maher
c3c481579d Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Hubert Figuière
b2f75df556 Bug 777145 - Part 2: Make sure we are online when runing marionette. r=jgriffin
--HG--
extra : rebase_source : ffadd060d43d3c0839573988afd35c2be67ebf8f
2012-09-19 13:31:03 -07:00