Commit Graph

2482 Commits

Author SHA1 Message Date
Andrew Halberstadt
5a586cdf17 Bug 1185761 - [mochitest] Allow boolean values to --keep-open for overriding the default, r=ted
Most of the time the default is to close the browser after tests run. And that can be overridden with
--keep-open. But in some corner cases, the default is to leave the browser open after tests have run.
In these cases, it is not currently possible to override.

This patch allows the syntax --keep-open or --keep-open=false, the latter overrides the edge case
default.
2015-08-06 17:40:54 -04:00
Benjamin Smedberg
b9034d8dc4 Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm 2015-08-14 14:10:17 -04:00
Benjamin Smedberg
a2daace6fc Bug 1098064 part B - remove nsIPluginHost.isPluginOOP, r=jimm 2015-08-14 13:28:33 -04:00
Andrew McCreight
67bb296493 Bug 1193917 - Paper over web audio leaks revealed by event loop changes. r=erahm CLOSED TREE 2015-08-12 12:47:43 -07:00
Kaustabh Datta Choudhury
eb8e021e09 Bug 1162003 - Enable run-by-dir mode on Fx desktop opt builds. r=jmaher 2015-08-11 08:25:00 -04:00
Neil Deakin
ca76cffd22 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Andrew Halberstadt
13cd8258b0 Bug 1192235 - Update misleading mochitest usage string, r=chmanchester, DONTBUILD 2015-08-07 10:19:32 -04:00
Ryan VanderMeulen
68755aa21d Merge m-c to fx-team. a=merge 2015-08-06 15:53:46 -04:00
Ryan VanderMeulen
7a86643183 Bug 1175527, bug 1175263 - Skip test_SpecialPowersPushPermissions.html on Android for frequent failures. 2015-08-06 13:38:55 -04:00
Geoff Brown
91e2d67c54 Bug 1190975 - Do not dump device info and logcat when running mochitest via mach; r=jmaher 2015-08-06 07:27:47 -06:00
Andrew McCreight
28fabb278c Bug 1074317 - Report indirect LSan leaks in mochitests. r=erahm
LeanSanitizer reports two kinds of leaks: direct and indirect. A
leaked block that is pointed to by another leaked block is an
"indirect leak", while one that isn't is a "direct leak". Often,
indirect leaks are just things entrained by the "real" leak, but if
two leaked blocks are in a cycle, then they both end up being
indirect, so we need to report them, too.

This patch makes it so that indirect LSan leaks are treated the same
as direct leaks by Mochitests, which means they will turn the tree
orange. There are a few existing indirect leaks of various severity,
so I had add some suppressions. See those bugs for more details.
2015-08-03 06:45:00 -04:00
Arthur Edelstein
9d41cfe2df Bug 1187701 - add_task function for mochitest chrome and plain; r=jmaher 2015-08-03 11:14:10 -06:00
David Keeler
3ab3b9db2d bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus 2015-07-29 14:27:54 -07:00
Mike Hommey
27ea524c4a Bug 1189526 - Add screentopng to mochitest test archive on Gtk+3 builds. r=mshal 2015-08-01 08:54:45 +09:00
Julien Pagès
4365b56819 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.
2015-07-29 17:50:16 +02:00
Chris Manchester
76fb47f54c Bug 1188730 - Select tests in the plugins subsuite by manifest rather than path to fix unintended interaction with mach try. r=ahal
This prevents mach try's filtering of the master mochitest manifest from
interacting with the plugins subsuite by selecting by manifest rather than
test path. The way we run mochitest other could use a lot of cleanup --
this is a quick fix to prevent misleading output on treeherder when using
mach try.
2015-07-29 00:10:06 -07:00
Kyle Machulis
41b0486ee9 Bug 1165981 - Mochitests and test plugin for Win64 plugin disabling; r=bsmedberg 2015-07-21 08:55:18 -07:00
Myk Melez
d7d6ad9a46 Bug 1181867 - move -runtime flag to runtests.py so it gets set in automation; r=jland,ahalberstadt 2015-07-20 09:38:49 -07:00
Chris AtLee
656cda6348 Bug 1178959: Disable browser_fail_unexpectedTimeout.js and browser_fail_timeout.js r=ted 2015-07-20 11:09:13 -04:00
Mike Conley
4abe0acd7c Bug 1114299 - Regression test. r=smaug 2015-07-17 13:51:39 -04:00
Arthur Edelstein
a6e858fc9c Bug 1078657 - Add SpawnTask.js for async tasks in mochitests. r=jmaher 2015-07-17 12:37:24 -04:00
Ryan VanderMeulen
a52f29a924 Backed out changeset e5a750ee7e0b (bug 1078657) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures.
CLOSED TREE
2015-07-17 12:06:14 -04:00
Arthur Edelstein
495dd6e4d9 Bug 1078657 - Add SpawnTask.js for async tasks in mochitests. r=jmaher 2015-07-17 01:44:00 -04:00
Andrew Halberstadt
b86f120e23 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Hiroyuki Ikezoe
34933122e1 Bug 1101039 - Mochitest should output stack trace in failure case. r=ted
CLOSED TREE
2015-07-15 15:10:00 -04:00
Chris Manchester
8b56298543 Bug 890026 - Use kill_and_get_minidump in place of crashinject.exe in mochitest so we can stacks from more hangs. r=ted 2015-07-15 16:52:27 -07:00
Andrew Comminos
8ffba32d70 Bug 1178896 - Add support for determining if a plugin is OOP to nsIPluginHost. r=aklotz 2015-07-11 19:08:00 +02:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Wes Kocher
3fa9ca3a00 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Geoff Brown
96d8502fb9 Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Brian Grinstead
1827ef39d7 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past 2015-07-08 12:10:29 -07:00
Matthew Noorenberghe
1a6c89f23f Bug 1177169 - Add the ability to open preferences via UITour. r=Gijs 2015-07-09 11:31:10 -04:00
Julien Pagès
9b331ff125 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Jeff Walden
816e3f565b Bug 1165533 - Use SameValue semantics in Mochitests' is() and similar methods. r=Ms2ger 2015-05-19 13:09:48 -07:00
Jeff Walden
c12fcd1e60 Bug 1165533 - Make Mochitest's repr() functionality better distinguish values: include an explicit sign in zero representations, and escape and quote strings to distinguish them from their contents. r=Ms2ger 2015-07-02 21:19:02 -07:00
Julien Pagès
0a9d51f8f3 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin 2015-07-01 22:00:07 +02:00
Julien Pagès
49ef4d85fa Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin 2015-06-29 20:09:51 +02:00
Julien Pagès
d94a5c1827 Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Myk Melez
e85b495498 Bug 1168737 - specify runtime with command-line arg on Mac for tests; r=jmaher,marco 2015-06-26 09:22:40 -07:00
Gregory Szorc
0d16ec0cfa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Ryan VanderMeulen
9eb883195d Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Nick Alexander
5f9546a341 Bug 1168407 - Pre: Move roboextender under mobile/android/tests. r=gbrown
I want to include a file built during the Fennec build to the
roboextender extension; this is an easy way to arrange it.

I took the opportunity to make the extension file tree mirror the XPI
file tree, which always used base/.
2015-06-15 15:51:21 -07:00
Birunthan Mohanathas
1827baac3e Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Ryan VanderMeulen
da2a8994b1 Backed out changeset 4d9c70392f0e (bug 1174612) for total mochitest bustage.
CLOSED TREE
2015-06-15 16:47:11 -04:00
Andrew Comminos
e6096c5671 Bug 1173971 - Force core Xlib events on GTK3. r=karlt 2015-06-12 06:55:00 -04:00
Ryan VanderMeulen
184c8565bb Merge m-c to inbound. a=merge 2015-06-15 15:56:20 -04:00
Ryan VanderMeulen
0acf56b663 Merge inbound to m-c. a=merge 2015-06-15 15:55:28 -04:00
Birunthan Mohanathas
22cbbc1350 Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Gijs Kruitbosch
896177b8be Bug 1172270 - don't cause extra flushes for reader mode, r=margaret,smaug 2015-06-08 16:56:34 +01:00
chunminchang
2ff0d6c351 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Amod Narvekar
dd16ab4a22 Bug 1061813 - Added a check to test whether this.currentTest.scope.test is a function. r=jmaher 2015-06-11 10:15:00 +02:00
Jonathan Griffin
f0186a2c09 Bug 1173114 - Fallback to chunk-by-dir if runtimes file not found, r=ahal 2015-06-10 10:12:31 -07:00
Gijs Kruitbosch
9ada1d971c Bug 1165890 - change warning for 'leaking' window properties, r=ted 2015-05-18 14:30:07 +01:00
Wes Kocher
8a0f50f15d Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Tim Taubert
c1ae08df38 Bug 1167508 - Fix tests that expect a sync remoteness change after calling .loadURI() r=billm 2015-06-09 22:11:58 +02:00
Tim Taubert
9127c398c7 Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-06-09 22:11:43 +02:00
Ryan VanderMeulen
320f4635ac Backed out 7 changesets (bug 1167508) because it depends on bug 1172137, which was backed out.
Backed out changeset 5080433ff610 (bug 1167508)
Backed out changeset 97b5372b8950 (bug 1167508)
Backed out changeset 00eb943a27b2 (bug 1167508)
Backed out changeset c1a16fd640ae (bug 1167508)
Backed out changeset 092037dd209a (bug 1167508)
Backed out changeset b7ed44b4595f (bug 1167508)
Backed out changeset 3a4faf863320 (bug 1167508)
2015-06-08 14:33:53 -04:00
Tim Taubert
fb4d1cf9d6 Bug 1167508 - Fix tests that expect a sync remoteness change after calling .loadURI() r=billm 2015-05-23 15:47:56 +02:00
Tim Taubert
a5a8ca02fa Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-05-23 15:47:28 +02:00
Erik Vold
5577e187fe Bug 1142734 - Using Timer.jsm and adding some logs to jetpack-addon-harness.js r=mossop 2015-06-06 19:21:15 -07:00
Geoff Brown
a50ebfc754 Bug 1171303 - Set pref extensions.autoupdate.enabled to false to avoid testOfflinePage failures; r=mfinkle 2015-06-05 10:10:40 -06:00
Neil Deakin
f334bb6d6b Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Kartikaya Gupta
b27c900e71 Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Nick Alexander
f73748e75a Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!
2015-05-29 17:18:07 -07:00
Wes Kocher
0351d0fe25 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Nick Alexander
5964606255 Bug 1170332 - Fix |mach robocop SINGLE_TEST|. r=ahal,gbrown
This patch declares robocop.ini an instrumentation manifest.  It's not
currently possible to declare tests that don't correspond to files, so
we include the .java extension.  (This could be revisited.)

In |mach robocop|, we use the generic test resolving infrastructure to
select the 'instrumentation'/'robocop' flavor/subsuite tests.  In
|runtestsremote.py|, we fall back to robocop.ini, as we always have.
2015-06-01 14:45:48 -07:00
Andrew Halberstadt
677703c8bd Bug 1122590 - Make |mach mochitest| properly detect devtools tests (and other subsuites), r=chmanchester, DONTBUILD, a=NPOTB 2015-06-02 11:03:55 -04:00
Andrew Halberstadt
ed3d41f534 Bug 1164597 - Consolidate all mochitest mach commands into single |mach mochitest|, r=chmanchester 2015-05-05 16:41:59 -04:00
Ryan VanderMeulen
19dc73f937 Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Tim Taubert
a8ab6a0f64 Bug 1109875 - Remove the empty testing/mochitest/BrowserTestUtils/BrowserTestUtil.jsm file that was accidentally committed, and DONTBUILD this on a CLOSED TREE rs=Gijs 2015-05-28 17:43:08 +02:00
Andrew McCreight
6af93e1ff5 Bug 1157308 - part 2 - Reduce the content process leak limit on OS X. r=erahm
The intermittent media leak seems to have been fixed.
2015-05-27 09:33:00 +02:00
Andrew McCreight
276a22d086 Bug 1157308 - part 1 - Reduce the leak threshold for content processes more. r=erahm 2015-05-27 07:53:00 +02:00
Michael Layzell
d39d5aff7e Bug 1012662 - Part 3 - Tests for new Cut/Copy behaviour. r=ehsan 2015-05-27 06:54:00 +02:00
Geoff Brown
24bde959fd Bug 1026290 - Avoid TypeError during Android mochitest-chrome; r=chmanchester 2015-06-08 13:36:33 -06:00
Wes Kocher
86b78b48ff Backed out changeset 020ac30e270a (bug 1141415) for windows mochitest bustage 2015-05-27 14:45:35 -07:00
Ben Kelly
989324d495 Bug 1168129 Fix ssltunnel.cpp FAIL_ON_WARNING build errors on some platforms. r=ted 2015-05-27 14:10:10 -07:00
chunminchang
81c321995e Bug 1141415 - Add expire setting of permission to SpecialPowers. r=jmaher 2015-05-27 10:44:52 +08:00
Botond Ballo
ad4aea9284 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Carsten "Tomcat" Book
be72355f62 Backed out changeset cb03cb33817c (bug 1012662) 2015-05-26 13:33:41 +02:00
Michael Layzell
61316c7bd9 Bug 1012662 - Tests for new Cut/Copy behaviour. r=ehsan 2015-05-13 10:30:00 +02:00
Andrew Halberstadt
94f7e93288 Bug 1171602 - Run mochitest using mach from a tests.zip, r=chmanchester 2015-05-26 10:12:51 -04:00
Andrew Halberstadt
4cdea610f2 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester 2015-06-05 13:28:29 -04:00
chunminchang
8ceda383ae Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Blake Kaplan
ee2c5df167 Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Daniel Holbert
6ce5168cc5 Bug 1167250: Mark testing/mochitest/ssltunnel/ as FAIL_ON_WARNINGS. r=ted 2015-05-21 09:48:04 -07:00
Daniel Holbert
d98ca42a10 Bug 1167249: Use delete[] instead of delete to deallocate some arrays in mochitest ssltunnel.cpp. r=ted 2015-05-22 12:47:02 -07:00
Ryan Nath
34392fe0c4 Bug 1142684 - Prevent |f| and |authoption| from being leaked in early return cases. r=ted 2015-05-20 20:44:00 -04:00
Jonathan Griffin
46f72e36a5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin
c1efbce967 Backout cc15c275b1e3 (Bug 1149618) on a CLOSED TREE for suspected debug emulator bustage, a=bustage 2015-05-19 19:35:38 -07:00
Jonathan Griffin
831992c796 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Ehsan Akhgari
fa0a409d85 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Tooru Fujisawa
79ffd1dd4d Bug 1154140 - Remove stopPropagation call from ChromeUtils.synthesizeDrop. r=enndeakin 2015-05-13 18:58:59 +09:00
Neil Deakin
27d1a5f294 Bug 1131656, allow waitForFocus to take a browser element as an argument, r=billm 2015-05-11 08:02:49 -04:00
Geoff Brown
5d27ca7373 Bug 1140454 - Skip some tests on Android 4.3 Debug for intermittent failures; r=me,trivial 2015-05-09 20:04:44 -06:00
Wes Kocher
549a2cca6f Merge fx-team to m-c a=merge 2015-05-08 10:29:41 -07:00
Geoff Brown
2d0e309d6a Bug 1162285 - Remove unused environment vars on Android; r=jmaher 2015-05-07 18:49:15 -06:00
Gavin Sharp
9534d998cf Bug 1138079 - Fix focus issue that sometimes affects browser-chrome test runs. r=enndeakin 2015-04-30 12:50:30 -07:00
Myk Melez
c4dcb24922 bug 1125394 - launch runtime executable stub from test app bundle on Mac; r=jmaher,marco 2015-05-06 16:27:33 -07:00
Wes Kocher
166c86f154 Merge m-c to inbound a=merge 2015-05-05 14:53:34 -07:00
Tim Taubert
9743258506 Bug 1109875 - Fix various other tests to properly wait for data from closed tabs r=billm 2015-05-04 19:08:06 +02:00
Andrew Halberstadt
bddb36c144 Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Nick Alexander
1646b86ded Bug 938659 - Part 2: build system changes. r=mfinkle 2015-05-01 17:33:03 -07:00
Phil Ringnalda
7c18683a54 Merge f-t to m-c, a=merge 2015-05-02 10:13:08 -07:00
Nick Alexander
99fc155f8d Bug 1160662 - Refer to robocop.ini in $OBJDIR/_tests, not $OBJDIR. r=margaret 2015-05-01 14:51:27 -07:00
Ryan VanderMeulen
f87c951071 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-01 10:50:07 -04:00
Boris Zbarsky
38242164a9 Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles 2015-04-30 14:25:03 -04:00
Randell Jesup
6c571f94f3 Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce 2015-04-30 00:52:26 -04:00
Nick Alexander
a16f8eb56a Bug 1160324 - Handle missing robocopApk files in runtestsremote.py. r=gbrown 2015-04-30 14:28:14 -07:00
Nick Alexander
379976a013 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop ini files. r=froydnj 2015-04-30 10:13:13 -07:00
Brian O'Keefe
26812005c3 Bug 978591 - Remove per-directory uses of MOZ_CHROME_FILE_FORMAT. r=glandium 2015-04-23 18:43:06 -04:00
Andrew Halberstadt
46ca42739c Bug 1162479 - Fix mochitest make target regression with duplicate extraProfilePath, r=chmanchester 2015-05-07 14:38:43 -04:00
Andrew Halberstadt
a8e8d41ac4 Bug 1162226 - Fix mach mochitest regression on b2g desktop builds, r=chmanchester 2015-05-06 16:44:01 -04:00
Joel Maher
a059bedf10 Bug 1157852 - Mochitest DevTools test directories run multiple times. r=ahal 2015-04-27 08:43:07 -04:00
Carsten "Tomcat" Book
6723c48492 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Nathan Froyd
17577d3116 Bug 1155816 - part 0 - remove NO_JS_MANIFEST from testing/mochitest/Makefile.in; r=mshal
The lone check for NO_JS_MANIFEST in rules.mk suggests that we need to
be looking at EXTRA_COMPONENTS/EXTRA_PP_COMPONENTS.  But
testing/mochitest/ doesn't define either of those variables, so
NO_JS_MANIFEST is just taking up space in this instance.
2015-04-17 14:05:54 -04:00
Nathan Froyd
4883ffd726 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Carsten "Tomcat" Book
8f45f38815 Merge mozilla-central to fx-team 2015-04-24 15:01:23 +02:00
Tim Taubert
08f3961c3b Bug 1134518 - Use the globalMM for ContentTask's frame script to prevent it from being loaded twice into a docShell swapped to another browser window r=bustage 2015-04-24 11:06:27 +02:00
Tim Taubert
6d9ebde0b8 Bug 1134518 - Add test to ensure we don't lose shistory entries when switching a browser's remoteness r=Mossop 2015-04-23 15:42:55 +02:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Marcos Caceres
b488d6f494 Bug 1154464 - Add a dedicated test for BrowserTestUtils.browserLoaded. r=smacleod r=Paolo 2015-04-22 10:11:00 +02:00
Boris Zbarsky
8c84ce0c2c Bug 1157487. Make the error reporting in SimpleTest.monitorConsole better. r=jmaher 2015-04-22 23:50:48 -04:00
Shih-Chiang Chien
bfbedd564e Bug 1158003 - Add command parser for jetpack-addon and jetpack-package. r=ted 2015-04-24 10:33:23 +08:00
Nathan Froyd
149e6e1b70 Bug 1158227 - part 1 - don't run TSan on test tools or the xpcshell HTTP server in mochitests; r=jmaher 2015-04-23 16:35:22 -04:00
Phil Ringnalda
68b75bc4ca Back out f4f4e2be3765 (bug 1155338) for Android 4.0/debug mochitest bustage
CLOSED TREE
2015-05-04 18:28:16 -07:00
Andrew Halberstadt
b0eec3d4ef Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Wes Kocher
31bd79a6ac Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Andrew Osmond
6dceafc10c Bug 1155919 - Fix how B2G desktop mochitests would fail to run. r=ahalberstadt 2015-04-17 19:19:28 -04:00
Alexandre Poirot
0da85be679 Bug 1145049 - Fix exception when using SimpleTest.expectUncaughtException. r=ted 2015-04-18 09:39:07 +02:00
Ehsan Akhgari
217ba006c7 Bug 1154679 - Part 3: Remove is_loosely; r=Ms2ger 2015-04-18 19:10:53 -04:00
Andrew Halberstadt
7095335f5a Bug 1154006 - [mach] Ability to lazy load parsers passed in via the @Command decorator, r=gps 2015-04-13 15:36:56 -04:00
David Anderson
fcff4db978 Allow wheel tests finer control over the refresh driver. (bug 1140293, r=mstange) 2015-04-16 21:35:31 -04:00
Neil Deakin
b9a3639aac Bug 1131818, add versions of synthesizeMouse that work with child process tabs, r=mconley 2015-04-16 15:38:13 -04:00
Neil Deakin
0ad95e6d4c Bug 1153289, add some tab switching methods to BrowserTestUtils.jsm, r=felipe 2015-04-16 15:38:13 -04:00
Nathan Froyd
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Kershaw Chang
cb934f30a8 Bug 1020179 - Test case for visibilitychange. r=fabrice 2015-04-13 21:11:00 -04:00
Kartikaya Gupta
5f9a40681c Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki 2015-04-14 11:36:36 -04:00
Andrew Halberstadt
4cce18e7d4 Bug 1153413 - Add --subsuite option to mochitest mach command, r=jgriffin 2015-04-10 15:31:36 -04:00
Carsten "Tomcat" Book
da26d7a502 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen
d06790bb92 Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger
2aad41dbe8 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Carsten "Tomcat" Book
fcd104c2e0 Backed out changeset f3e21cdfa1fc (bug 1153413) for causing regression like Bug 1153851 2015-04-14 09:13:44 +02:00
Tooru Fujisawa
90abcface7 Bug 1147700 - Part 2: Do not overwrite dataTransfer in ChromeUtils.synthesizeDrop if dragData is null. r=enndeakin 2015-04-14 13:07:59 +09:00
Tooru Fujisawa
8b3e13a48c Bug 1147700 - Part 1: Add aDragEvent parameter to ChromeUtils.synthesizeDrop to modify DragEvent, and set default position to center of destElement. r=enndeakin 2015-04-14 13:07:57 +09:00
Wes Kocher
c93a6002a2 Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Martijn Wargers
dec04be154 Bug 970728 - Intermittent test_bug344861.html - b2g_start_script.js part. r=jgriffin 2015-04-10 12:34:52 +02:00
Doug Turner
9b26e4c4a0 Backout of 89534d1eee73. Bug 1153413 - Add --subsuite to mochitest mach command. r=jgriffin. 2015-04-10 23:31:13 -07:00
Doug Turner
fe1a86b479 Bug 1153413 - Add --subsuite to mochitest mach command. r=jgriffin 2015-04-10 20:19:29 -07:00
Doug Turner
75df1e9754 Bug 1038811 - Push Notifications - Allow MOZ_DISABLE_NONLOCAL_CONNECTIONS for push subsuite. r=ahalberstadt/jgriffin 2015-04-10 20:19:29 -07:00
Andrew Halberstadt
422bf9a0ac Bug 1153413 - Add --subsuite option to mochitest mach command, r=jgriffin 2015-04-10 15:31:36 -04:00
Geoff Brown
d1d443c8c3 Bug 1152994 - Kill orphan ssltunnel and xpcshell in B2G emulator tests; r=kmoir 2015-04-10 14:41:36 -06:00
Mike Conley
e433751ec6 Bug 1152864 - Disable unsafe CPOW warnings when running mochitests by default, and add option to re-enable. r=ahal.
--enable-cpow-warnings can now be passed when running a mochitest to re-enable the warnings,
should one wish to do that.
2015-04-10 13:45:22 -04:00
David Anderson
d53b1eacf2 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
Ryan VanderMeulen
407a2c8853 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-09 23:00:24 -04:00
Ryan VanderMeulen
ae63dabf53 Merge fx-team to m-c. a=merge 2015-04-09 22:57:56 -04:00
Geoff Brown
62eceb398c Bug 1120727 - Add mochitest-plain, mochitest-chrome mach commands for Android; r=ahal 2015-04-09 19:11:56 -06:00
Kershaw Chang
11df060796 Bug 1152242 - Enable e10s in mozinfo. r=ted 2015-04-08 20:03:00 -04:00
Mike Conley
c5539411d6 Bug 1110887 - Add test to exercise both cases of some non-determinism when dealing with plugin crashes in e10s. r=felipe. 2015-03-27 16:32:24 -04:00
Carsten "Tomcat" Book
9f0d3b24d0 Backed out changeset 71310d7e7e2c (bug 1110887) 2015-04-09 13:05:55 +02:00
Mike Conley
ed812f5889 Bug 1110887 - Add test to exercise both cases of some non-determinism when dealing with plugin crashes in e10s. r=felipe. 2015-03-27 16:32:24 -04:00
Ehsan Akhgari
4523142588 Bug 1152872 - Don't attempt to leak-check the tools that we run as part of the setup for the mochitest suite; r=mccr8 2015-04-09 14:11:09 -04:00
Andrew Halberstadt
024d6d0bd9 Bug 1147129 - upgrade mochitest from optparse to argparse and move android cli to mochitest_options.py, r=chmanchester 2015-03-24 17:42:24 -04:00
Philip Chee
f0a6022918 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Shian-Yow Wu
71659a052a Bug 1147307 - Use the target_out value for b2g mach mochitest. r=ahal 2015-04-07 09:43:26 +08:00
Andrew Halberstadt
b3e140c779 Bug 1046992 - Consolidate desktop/b2g/b2g desktop mochitest mach commands, r=gbrown 2015-04-08 11:12:52 -04:00
Carsten "Tomcat" Book
094daed941 Backed out changeset 1158acbea753 (bug 1140293) for frequent windows m-oth test failures in test_wheeltransaction.xul 2015-04-08 10:22:34 +02:00
Tom Tromey
a7542f3f19 Bug 1150646 - Ensure that memory stats show up in treeherder logs. r=chmanchester 2015-04-03 11:19:00 -04:00
Bob Clary
acfa8c6fe4 Bug 1138942 - Add Autophone specific video mochitest manifest, r=jmaher. 2015-04-03 15:30:35 -07:00
Neil Deakin
0f8deeb60f Bug 1121671, see if using the TabSwitchDone event will work, r=test-only=change 2015-03-31 10:00:00 -04:00
Carsten "Tomcat" Book
889e5d30e1 merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Mike Conley
734a09524f Bug 1144797 - Add ContentTaskUtils.jsm into ContentTask scope. r=smacleod. 2015-03-27 18:51:25 -04:00
J. Ryan Stinnett
25bdf137f9 Bug 1138591 - Remove the chrome-enabled pref. r=past 2015-03-28 03:42:33 -05:00
JW Wang
ab0fc0fca9 Bug 1043403 - Support clear-key in Mochitest on B2G. r=ted. 2015-03-31 10:32:15 +08:00
Philip Chee
c3167b09d5 Backed out changeset: 764b057e1c3f (Bug 1139958 - Start using AppConstants.jsm in Toolkit) 2015-03-28 20:54:30 +08:00
Philip Chee
2dcc38f89c Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-03-28 19:17:24 +08:00
Andrew Halberstadt
be7dbc01a9 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Andrew Halberstadt
9826fc6cd8 Bug 1142050 - Add --chunk-by-runtime option to mochitest, r=jmaher
With --chunk-by-runtime enabled, test runtime data collected from automation is used to try and make all chunks take the same amount of time. So far only data for mochitest browser-chrome is added.
2015-03-26 15:21:45 -04:00
dvander@alliedmods.net
7e5ca15a1a Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Ryan VanderMeulen
97dfa3b8cd Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE
2015-03-27 13:12:19 -04:00
Bill McCloskey
bc4429a33c Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Andrew Halberstadt
c14b32c6f1 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Wes Kocher
ec293905dc Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey
57fbadfa4f Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Dave Townsend
c06b650446 Bug 1144742: Unload the test module loader at the end of test runs to make leak detection easier. r=erikvold 2015-03-26 11:51:57 -07:00
Chris Peterson
deb3889109 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
Vaibhav Agrawal
829a9ff6a1 Bug 1144573 - Cleanup after removing android*.json. r=ahal, r=jmaher
CLOSED TREE
2015-03-26 14:39:57 +08:00
Ryan VanderMeulen
d70bbe5871 Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
David Anderson
b23b745a66 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
Wes Kocher
594f9bf623 Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Geoff Brown
488516879b Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Chris Manchester
c951d17324 Bug 1145444 - r=jmaher 2015-03-20 12:30:37 -07:00
Bill McCloskey
c6fbaae4dd Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) 2015-03-20 12:02:41 -07:00
Paolo Amadini
0b67fd217d Bug 1144869 - Add BrowserTestUtils.withNewTab. r=smacleod 2015-03-20 10:26:01 -07:00
Paolo Amadini
8ae4dc4566 Bug 1143937 - Make BrowserTestUtils.waitForEvent not use flaky timeouts and cover more use cases. r=smacleod 2015-03-20 10:26:01 -07:00
Jeff Gilbert
a60a968462 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Geoff Brown
ba7ed0bfce Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Andrew Halberstadt
d907bbf554 Bug 1144194 - Only parse test manifests once in mochitest, r=jmaher 2015-03-17 16:18:34 -04:00
Bill McCloskey
f5757e406b Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Phil Ringnalda
f2f4dd47f1 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
430b09a885 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00