Commit Graph

2310 Commits

Author SHA1 Message Date
Arthur Edelstein
39673d63e1 Bug 1078657 - Add SpawnTask.js for async tasks in mochitests. r=jmaher 2015-07-17 01:44:00 -04:00
Andrew Halberstadt
8cffe8fa6b 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
fbaafc3f3f Bug 1101039 - Mochitest should output stack trace in failure case. r=ted
CLOSED TREE
2015-07-15 15:10:00 -04:00
Chris Manchester
a32d44cab8 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
1739a935db 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
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Wes Kocher
cc806c6518 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Geoff Brown
9e1b74c17f Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Brian Grinstead
50da040cd5 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past 2015-07-08 12:10:29 -07:00
Matthew Noorenberghe
ddccc4eaf6 Bug 1177169 - Add the ability to open preferences via UITour. r=Gijs 2015-07-09 11:31:10 -04:00
Julien Pagès
6a595c1c90 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Jeff Walden
b2f6bbd517 Bug 1165533 - Use SameValue semantics in Mochitests' is() and similar methods. r=Ms2ger 2015-05-19 13:09:48 -07:00
Jeff Walden
22218d8be1 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
d4f0266bdc Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin 2015-07-01 22:00:07 +02:00
Julien Pagès
bf83d83ddb Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin 2015-06-29 20:09:51 +02:00
Julien Pagès
adabf84aee Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Myk Melez
2b9e3fc9b5 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
4f2fb895aa 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
2cc08b4a01 Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Nick Alexander
858076ed5f 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
bc11441e57 Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Ryan VanderMeulen
63f30a7691 Backed out changeset 4d9c70392f0e (bug 1174612) for total mochitest bustage.
CLOSED TREE
2015-06-15 16:47:11 -04:00
Andrew Comminos
2a579c982c Bug 1173971 - Force core Xlib events on GTK3. r=karlt 2015-06-12 06:55:00 -04:00
Ryan VanderMeulen
a8413ea695 Merge m-c to inbound. a=merge 2015-06-15 15:56:20 -04:00
Ryan VanderMeulen
877320e93e Merge inbound to m-c. a=merge 2015-06-15 15:55:28 -04:00
Birunthan Mohanathas
57eca8fb7a Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Gijs Kruitbosch
94e06eb343 Bug 1172270 - don't cause extra flushes for reader mode, r=margaret,smaug 2015-06-08 16:56:34 +01:00
chunminchang
2ddf7f1549 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Amod Narvekar
a46fa66ce5 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
1b75977b76 Bug 1173114 - Fallback to chunk-by-dir if runtimes file not found, r=ahal 2015-06-10 10:12:31 -07:00
Gijs Kruitbosch
3a555cefe9 Bug 1165890 - change warning for 'leaking' window properties, r=ted 2015-05-18 14:30:07 +01:00
Wes Kocher
de4a71ed75 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Tim Taubert
50426635ff 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
5221151951 Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-06-09 22:11:43 +02:00
Ryan VanderMeulen
111c4d1ad9 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
4bdebbfabd 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
e1f443a405 Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-05-23 15:47:28 +02:00
Erik Vold
c82545f26f 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
1cb63fde39 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
1335ea7da1 Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Kartikaya Gupta
1b00006d7a Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Nick Alexander
ebe9712b0b 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
dd975b7704 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Nick Alexander
245f941fb6 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
043effbc38 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
500a67e58b Bug 1164597 - Consolidate all mochitest mach commands into single |mach mochitest|, r=chmanchester 2015-05-05 16:41:59 -04:00
Ryan VanderMeulen
90fcd7d1ec Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Tim Taubert
bcee53c9ad 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
fa16901aa8 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
0ae5de4ada Bug 1157308 - part 1 - Reduce the leak threshold for content processes more. r=erahm 2015-05-27 07:53:00 +02:00