Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky

Differential Revision: https://phabricator.services.mozilla.com/D150895
This commit is contained in:
Tooru Fujisawa
2022-07-11 12:41:51 +00:00
parent 48c568867c
commit eda08a4a05
52 changed files with 4 additions and 191 deletions

View File

@@ -7,9 +7,6 @@
// This is loaded into all XUL windows. Wrap in a block to prevent
// leaking to window scope.
{
const { Services } = ChromeUtils.import(
"resource://gre/modules/Services.jsm"
);
const { AppConstants } = ChromeUtils.import(
"resource://gre/modules/AppConstants.jsm"
);