summaryrefslogtreecommitdiffstats
path: root/toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs')
-rw-r--r--toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs b/toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs
new file mode 100644
index 0000000000..f840e94646
--- /dev/null
+++ b/toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs
@@ -0,0 +1,12 @@
+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+import { EXIT_CODE } from "resource://gre/modules/BackgroundTasksManager.sys.mjs";
+
+export async function runBackgroundTask() {
+ console.error("runBackgroundTask: success");
+
+ return EXIT_CODE.SUCCESS;
+}