Commit Graph

2138 Commits

Author SHA1 Message Date
Jeff Gilbert
f1950f4854 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Ehsan Akhgari
2dbbf823ed Bug 1145375 - Don't kill the debugger if the user Ctrl-C's as running a mochitest; r=ted 2015-03-19 15:27:00 +01:00
Geoff Brown
0b1600116e Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Andrew Halberstadt
ef0e795bcb Bug 1144194 - Only parse test manifests once in mochitest, r=jmaher 2015-03-17 16:18:34 -04:00
Bill McCloskey
e7aee957c0 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Phil Ringnalda
bc03d24e02 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
d15acaca2d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Joel Maher
50711c0001 Bug 1143091 - restarting tests with --keep-open is hard. r=ted 2015-03-18 08:38:25 -04:00
Dave Townsend
bd56bdfdb9 Bug 1136910: Fix browser_tab_dragdrop.js to avoid CPOWs and correctly test clicks. r=mconley, r=ttaubert
Switches the whole test to task based and removes most of the CPOW traffic, the
plugin checks are the notable exception.

This also makes ContentTask act sanely in the presence of tab detach by using
browser.permanentKey as the indication that the framescript has been loaded and
just listening to all frames.

Also adds a click in the upper-left of the content area to browser_tabopen_reflows.js
to make sure the mouse isn't hovered over one of the tiles causing an unexpected
reflow.
2015-03-09 15:53:01 -07:00
Carsten "Tomcat" Book
21682b3a69 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Dave Townsend
043491fd68 Bug 1142734: Add additional logging to jetpack-addons tests. r=erikvold 2015-03-13 09:52:25 -07:00
Steven MacLeod
b17269ecc2 Bug 1132566 - Make test e10s compatible: browser_privatebrowsing_cookieacceptdialog.js; r=billm 2015-03-05 11:06:10 -05:00
Ryan VanderMeulen
ea4f5f05dc Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Vaibhav Agrawal
a81afaf73c Bug 1083347 - Removing android.json, android23.json, androidx86.json. r=jmaher 2015-03-12 01:25:28 +08:00
Paolo Amadini
10c6820b08 Bug 1142108 - Make TestUtils.topicObserved cover more use cases. r=smacleod 2015-03-13 15:54:43 +00:00
Ryan VanderMeulen
a12c6d2dfc Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Joel Maher
e03c665998 Bug 1143010 - Stopping a mochitest-browser run is rocket science. r=ted 2015-03-16 11:33:35 -04:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Vaibhav Agrawal
8f27215f7a Bug 1083347 - Removing gl.json and editing in-tree configurations.r=armenzg, gbrown DONTBUILD 2015-03-12 01:22:13 +08:00
Joel Maher
9be98845cb Backed out changeset 404caa140516 for landing with the wrong bug number 2015-03-12 11:30:01 -04:00
Vaibhav Agrawal
c064bed4bc Bug 1083346 - Removing gl.json and editing in-tree configurations.r=armenzg, gbrown 2015-03-12 01:22:13 +08:00
Andrew Halberstadt
332356754b Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Bob Owen
9a4eb936ac Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes 2015-03-10 08:03:12 +00:00
Mike Hommey
9ceb4a0a92 Bug 1139719 - Properly say what binary is missing for --use-test-media-devices. r=jmaher 2015-03-10 10:01:54 +09:00
Mike Hommey
e4b247f703 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Andrew McCreight
5bb1645a39 Bug 1139021 - Don't run extra collections in the parent process for the mochitest window leak detector. r=jmaher 2015-03-04 14:00:24 -08:00
Wes Kocher
50789ffa1a Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Wes Kocher
c4ac9859cf Merge fx-team to m-c a=merge 2015-03-02 12:41:37 -08:00
Steven MacLeod
877c5f3df7 Bug 1093566 - Migrate BrowserUITestUtils into BrowserTestUtils; r=Unfocused r=paolo 2015-02-23 12:48:54 -05:00
Steven MacLeod
519d688bf0 Bug 1093566 - Add Cc, Ci, Cu, Cr to scope of spawned ContentTasks; r=Gijs r=paolo 2015-02-26 11:49:36 -05:00
Steven MacLeod
36304cb7ff Bug 1093566 - Add modules for sharing mochitest-browser test code; r=Gijs r=paolo
Currently code used by many mochitest-browser tests is scattered
throughout the tree in various head.js files. Many similar or identical
helper methods are repeated throughout these files.

This commit introduces a BrowserTestUtils.jsm module and includes it in
the mochitest scope; the idea being these frequently re-implemented
methods can live in a central place.

A TestUtils.jsm module has also been introduced to contain code useful to
all types of tests.
2015-02-22 23:11:22 -05:00
Giovanny Andres Gongora Granada
ca31523446 Bug 1126057 - Provide better error when ./mach robocop is run without MOZ_HOST_BIN. r=nalexander
DONTBUILD because NPOTB
2015-02-26 10:28:00 -08:00
Geoff Brown
13732aa60f Bug 1084614 - Improve error message on bind failure in ssltunnel; r=ted 2015-02-26 14:56:47 -07:00
Nathan Froyd
b43a2b110d Bug 1136700 - enable tweaking of the maximum number of timeouts for mochitests; r=jmaher
When running tests locally, it's occasionally useful to be able to
increase the number of tests permitted to timeout before declaring the
test run a failure.  This patch adds the necessary bits to SimpleTest
and the appropriate amount of plumbing to runtests.py and mach to make
that so.
2015-02-25 09:23:54 -05:00
Andrew McCreight
70d5a0bb34 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.

In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Geoff Brown
3e990e689d Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Alessio Placitelli
45327633a8 Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Anish
48094b2951 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano
483fbc830f Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
f1fce37659 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
d837b657fd Bug 1119609 part.13 EventUtils.synthesizeComposition() and synthesizeCompositionChange() should take KeyboardEvent for emulating composition state change caused by a key operation rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
60d702a190 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
be3248be75 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Andrew McCreight
32ed7a2bf6 Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
eb177fe773 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
2015-02-14 11:43:45 -08:00
Andrew Halberstadt
4095e521c8 Bug 1127376 - PEP8-ify all mochitest .py files (auto-generated), r=ted
This change was generated using the `autopep8` module [1]. To replicate:

    $ pip install --upgrade autopep8
    $ cd gecko
    $ autopep8 -i -a -a -r testing/mochitest --exclude 'testing/mochitest/pywebsocket/*'

[1] https://github.com/hhatto/autopep8

--HG--
extra : rebase_source : fb127187cd488b977981338373d66cc8c735214f
2015-02-13 14:42:02 -05:00
Steven MacLeod
848a47b780 Bug 1107609 - Implement ContentTask.spawn; r=Gijs r=mconley
This introduces a new medule ContentTask, which includes a spawn method.
This new method can be used to spawn a task in the content process of a
browser. When called, a promise will be returned which resolves to the
value returned by the task.

This allows you to quickly write test code which can touch the content
and return information without having to write custom framescripts all
the time (The content code can be written inline as a simple generator
definition). ContentTask is automatically included in the scope of
mochitests.

An example use follows:

yield ContentTask.spawn(browser, {}, function* gen_replaceState() {
  content.window.history.replaceState({}, "", 'test-entry/');
  return "Value that the promise will resolve with";
});

--HG--
extra : rebase_source : 9b6ae71407da582cdaa8087b5e367c72fa08a337
2015-02-11 17:28:44 -05:00