gecko-dev/testing
Andreas Tolfsen 74fbed7467 Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo
This patch moves the "timeout" and "interval" positional arguments
on PollPromise to an options dictionary.

In the following code example it is hard to know which argument means
what because they are not named:

	new PollPromise(resolve => resolve(), 100, 100);

Named arguments can be achieved in JavaScript using option
dictionaries, and this patch changes the input PollPromise takes so
that the above example looks like this:

	new PollPromise(resolve => resolve(), {timeout: 100, interval: 100};

This plays especially well with code in testing/marionette/element.js
as we already have named arguments that we can pass directly in through
an object literal, making the code more readable and more compact:

	let timeout = 42;
	new PollPromise(resolve => resolve(), {timeout});

MozReview-Commit-ID: GFWNGQAeWk1

--HG--
extra : rebase_source : 296843053e72bd07463a3018b06782f0dcc4828a
2017-10-02 17:13:57 +01:00
..
awsy Bug 1395540 - Part 4: Fix the DMD stacks. r=njn 2017-09-21 14:41:44 -07:00
config Backed out 3 changesets (bug 1358670) for flake8 failures a=backout 2017-07-20 11:20:00 -07:00
crashtest Bug 1402183 - Part 2: Add crashtest r=mstange 2017-09-23 18:42:47 +02:00
firefox-ui Bug 1375660 - Fix test_l10n.py for title text. r=ato 2017-10-02 22:25:42 +02:00
geckodriver Bug 1404891 - Add noProxy documentation for proxy capabilities. r=ato 2017-10-02 23:16:07 +02:00
gtest Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
instrumentation
marionette Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo 2017-10-02 17:13:57 +01:00
mochitest Bug 1405369 - Ensure new profile used throughout test verification; r=jmaher 2017-10-05 12:47:11 -06:00
modules Bug 1402376 - test code - Add whether the client has an incompatible version of JAWS to the update url. r=jimm 2017-09-22 12:45:39 -07:00
mozbase Bug 1404480 - Manage hdiutil output when the volume name contains a space r=whimboo 2017-10-02 13:07:53 +02:00
mozharness Bug 1373178 - use preflight mech to hide win 10 taskbar; r=jmaher 2017-10-09 16:07:24 +03:00
profiles Bug 1405166 - Update occurrences of system-disabled pref outside screenshots system addon; r=kmag 2017-10-03 16:26:41 -07:00
runtimes Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
specialpowers Bug 1376931 Part 2: Extend ContentViewer to allow reporting of effective full zoom level as determined by the device context. r=bz,heycam 2017-09-27 14:06:37 -07:00
talos Bug 1405960 - Force e10s-multi off in a cross-branch way. r=mconley 2017-10-05 15:23:27 -07:00
tools Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
tps Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal 2017-08-19 04:19:06 +05:30
web-platform Bug 1405568 - Return false from nsHtml5String::LowerCaseStartsWithASCII when this string is shorter than the literal. r=smaug 2017-10-09 10:43:48 +03:00
webdriver Bug 1403503 - Remove obsolete socksUsername and socksPassword capabilities. r=automatedtester 2017-09-28 09:28:13 +02:00
xpcshell Bug 1405561 - Show --verify in mochitest help and standardize --verify description; r=jmaher 2017-10-04 11:19:39 -06:00
cppunittest.ini Backed out changeset 371a03aa9b24 (bug 1397056) for build errors in SmallPointerArray.h a=backout CLOSED TREE 2017-09-12 12:39:09 -07:00
mach_commands.py Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium 2017-09-12 11:54:47 -07:00
moz.build Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin 2017-09-26 10:47:22 -04:00
README.txt
remotecppunittests.py Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj 2017-09-28 11:00:09 +09:00
runcppunittests.py Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj 2017-09-28 11:00:09 +09:00
testsuite-targets.mk Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium 2017-09-12 11:54:47 -07: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