diff options
Diffstat (limited to 'toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs')
-rw-r--r-- | toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs b/toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs index 98a4b0ee5b..91b27ac8f1 100644 --- a/toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs +++ b/toolkit/components/promiseworker/tests/xpcshell/data/worker.mjs @@ -30,7 +30,7 @@ var Agent = { return args; }, - throwError(msg, ...args) { + throwError(msg) { throw new Error(msg); }, }; |