Skip to content

Commit 1468978

Browse files
committed
Bug 1839520 - Convert tps.jsm to ES module r=Standard8,sync-reviewers,skhamis
Co-authored-by: Mark Banner <standard8@mozilla.com> Differential Revision: https://phabricator.services.mozilla.com/D181610
1 parent 8f4b872 commit 1468978

File tree

2 files changed

+179
-207
lines changed

2 files changed

+179
-207
lines changed

services/sync/tps/extensions/tps/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ XPCOMUtils.defineLazyServiceGetter(
1717

1818
async function tpsStartup() {
1919
try {
20-
var { TPS } = ChromeUtils.import("resource://tps/tps.jsm");
20+
var { TPS } = ChromeUtils.importESModule("resource://tps/tps.sys.mjs");
2121
let { goQuitApplication } = ChromeUtils.importESModule(
2222
"resource://tps/quit.sys.mjs"
2323
);

0 commit comments

Comments
 (0)