Commit Graph

2156 Commits

Author SHA1 Message Date
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
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
Joel Maher
03fb5ffb85 Bug 1143091 - restarting tests with --keep-open is hard. r=ted 2015-03-18 08:38:25 -04:00
Dave Townsend
1733d983f9 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
1339beda33 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Dave Townsend
1d35e436ea Bug 1142734: Add additional logging to jetpack-addons tests. r=erikvold 2015-03-13 09:52:25 -07:00
Steven MacLeod
a571ec1afa Bug 1132566 - Make test e10s compatible: browser_privatebrowsing_cookieacceptdialog.js; r=billm 2015-03-05 11:06:10 -05:00
Ryan VanderMeulen
0a6613ed62 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Vaibhav Agrawal
b57429e6cd Bug 1083347 - Removing android.json, android23.json, androidx86.json. r=jmaher 2015-03-12 01:25:28 +08:00
Paolo Amadini
4d02d437d0 Bug 1142108 - Make TestUtils.topicObserved cover more use cases. r=smacleod 2015-03-13 15:54:43 +00:00
Ryan VanderMeulen
fa73ab5dc5 Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
d7b8a10852 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Joel Maher
e65f11b4bf Bug 1143010 - Stopping a mochitest-browser run is rocket science. r=ted 2015-03-16 11:33:35 -04:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Vaibhav Agrawal
26f30fabe5 Bug 1083347 - Removing gl.json and editing in-tree configurations.r=armenzg, gbrown DONTBUILD 2015-03-12 01:22:13 +08:00
Joel Maher
e2a24f00a9 Backed out changeset 404caa140516 for landing with the wrong bug number 2015-03-12 11:30:01 -04:00
Vaibhav Agrawal
87fafd5b26 Bug 1083346 - Removing gl.json and editing in-tree configurations.r=armenzg, gbrown 2015-03-12 01:22:13 +08:00
Andrew Halberstadt
03020c954b Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Ehsan Akhgari
71ca303dab 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
Bob Owen
181d4e83ed 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
f75fbc80de 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
d84d9950a3 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Andrew McCreight
2d8f556298 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
9285676936 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Wes Kocher
c514e3b07c Merge fx-team to m-c a=merge 2015-03-02 12:41:37 -08:00
Steven MacLeod
bdcc1a4fd2 Bug 1093566 - Migrate BrowserUITestUtils into BrowserTestUtils; r=Unfocused r=paolo 2015-02-23 12:48:54 -05:00
Steven MacLeod
f03a8ae2af 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
7014476758 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