summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/head.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /testing/xpcshell/head.js
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/xpcshell/head.js')
-rw-r--r--testing/xpcshell/head.js5
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.