diff options
Diffstat (limited to 'testing/xpcshell/head.js')
-rw-r--r-- | testing/xpcshell/head.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/xpcshell/head.js b/testing/xpcshell/head.js index d3b19719ab..b12bcbceb7 100644 --- a/testing/xpcshell/head.js +++ b/testing/xpcshell/head.js @@ -1567,7 +1567,7 @@ function add_test( } /** - * Add a test function which is a Task function. + * Add a test function which is an asynchronous function. * * @param funcOrProperties * An async function to be run or an object represents test properties. @@ -1578,9 +1578,6 @@ function add_test( * @param func * An async function to be run only if the funcOrProperies is not a function. * - * Task functions are functions fed into Task.jsm's Task.spawn(). They are async - * functions that emit promises. - * * If an exception is thrown, a do_check_* comparison fails, or if a rejected * promise is yielded, the test function aborts immediately and the test is * reported as a failure. |