From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../backgroundtasks/BackgroundTask_success.sys.mjs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs (limited to 'toolkit/components/backgroundtasks/BackgroundTask_success.sys.mjs') 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; +} -- cgit v1.2.3