summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/redux/middleware/xpcshell
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/client/shared/redux/middleware/xpcshell
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/shared/redux/middleware/xpcshell')
-rw-r--r--devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js2
-rw-r--r--devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js b/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js
index eaa573a8ae..a515acd2a4 100644
--- a/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js
+++ b/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js
@@ -56,7 +56,7 @@ add_task(async function () {
});
function comboAction() {
- return async function ({ dispatch, getState }) {
+ return async function ({ dispatch }) {
const data = {};
data.async = await dispatch(fetchAsync("async"));
data.sync = await dispatch(fetchSync("sync"));
diff --git a/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js b/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js
index 94087e31de..31c83a3122 100644
--- a/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js
+++ b/devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js
@@ -35,7 +35,7 @@ add_task(async function () {
});
function asyncError() {
- return async ({ dispatch, getState }) => {
+ return async () => {
const error = "task-middleware-error-generator";
throw error;
};