forked from mirrors/gecko-dev
This probably should have been part of the cleanup commit https://hg.mozilla.org/mozilla-central/rev/673745818480. Differential Revision: https://phabricator.services.mozilla.com/D110783
18 lines
559 B
JavaScript
18 lines
559 B
JavaScript
/* -*- 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/. */
|
|
|
|
"use strict";
|
|
|
|
var EXPORTED_SYMBOLS = ["runBackgroundTask"];
|
|
|
|
const { EXIT_CODE } = ChromeUtils.import(
|
|
"resource://gre/modules/BackgroundTasksManager.jsm"
|
|
).BackgroundTasksManager;
|
|
|
|
async function runBackgroundTask() {
|
|
console.error("runBackgroundTask: success");
|
|
|
|
return EXIT_CODE.SUCCESS;
|
|
}
|