gecko/testing
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
..
config Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE. 2015-02-11 12:15:22 -05:00
crashtest Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
docker Bug 1130327: Update phone-builder to use builder image 0.2.6. 2015-02-10 17:36:18 -02:00
gtest Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
instrumentation
marionette Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE. 2015-02-11 12:15:22 -05:00
mochitest Bug 1107609 - Implement ContentTask.spawn; r=Gijs r=mconley 2015-02-11 17:28:44 -05:00
modules Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures. 2014-12-11 11:28:30 -05:00
mozbase Bug 1130358 - [mozlog] Bump version to 2.10. r=jgraham 2015-02-06 04:47:00 -05:00
mozharness Bug 791924 - Add mozharness.json. DONTBUILD. NPOTB. r=rail 2014-11-17 15:42:49 -05:00
profiles Bug 1123620 - remove the one-time intro popup for the new searchbox UI, r=Mossop. 2015-02-11 20:47:28 +01:00
specialpowers Backed out changeset 91c1bd885ad9 (bug 1121577) for Gip failures on a CLOSED TREE 2015-02-10 15:09:52 -08:00
talos Bug 1096800 - Default sans-serif font for zh-CN on windows is mapped to SimSun, which is actually a serif font. r=jmaher 2015-02-10 10:38:00 +01:00
taskcluster Bug 1131450 - Implement chunk specific scheduling for tests r=garndt 2015-02-10 10:53:02 -08:00
tools Bug 1119072, Part 13: #undef NOMINMAX in testing/tools/screenshot/win32-screenshot.cpp so it compiles with MSVC 2015, r=ctalbert 2015-01-08 15:34:08 -08:00
tps
web-platform Bug 1131091 - Disable CSP test causing frequent oranges on a CLOSED TREE 2015-02-09 16:10:48 +00:00
xpcshell bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
cppunittest.ini Bug 1087567 - Add proper manifest for cppunit tests; r=ted 2014-10-28 09:38:21 -04:00
mach_commands.py Bug 1068676 - Make mach test understand subsuites. r=jmaher 2015-02-06 14:36:59 -06:00
machine-configuration.json
README.txt
remotecppunittests.py Bug 1087567 - Add proper manifest for cppunit tests; r=ted 2014-10-28 09:38:21 -04:00
runcppunittests.py Bug 1087567 - Add proper manifest for cppunit tests; r=ted 2014-10-28 09:38:21 -04:00
testsuite-targets.mk Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE. 2015-02-11 12:15:22 -05:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff