Bug 1514594: Follow-up: Remove unused imports merged from autoland. a=eslint-fix
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 29 Jan 2019 12:32:57 +0200
changeset 455871 815f7149b30b27f79395d9a0155c1ebeb4fca8b5
parent 455870 3c5ec7cfc73a9fe42faf73c5ab2d37ce9943356a
child 455872 0778108e409f586c4e50bfb5f53ca25f64232d7f
child 455878 e3ba3ce79b848a89694d596a4c99bbf71c86429e
child 455977 00a1fd64f704a8e73502f5857b1c47b1ef0363ef
push id77004
push userarchaeopteryx@coole-files.de
push dateTue, 29 Jan 2019 11:01:05 +0000
treeherderautoland@0778108e409f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint-fix
bugs1514594
milestone67.0a1
first release with
nightly linux32
815f7149b30b / 67.0a1 / 20190129103321 / files
nightly linux64
815f7149b30b / 67.0a1 / 20190129103321 / files
nightly mac
815f7149b30b / 67.0a1 / 20190129103321 / files
nightly win32
815f7149b30b / 67.0a1 / 20190129103321 / files
nightly win64
815f7149b30b / 67.0a1 / 20190129103321 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1514594: Follow-up: Remove unused imports merged from autoland. a=eslint-fix
toolkit/components/antitracking/test/browser/browser_storageAccessPromiseRejectHandlerUserInteraction.js
toolkit/components/extensions/test/xpcshell/test_ext_incognito.js
toolkit/components/extensions/test/xpcshell/test_ext_permissions_uninstall.js
--- a/toolkit/components/antitracking/test/browser/browser_storageAccessPromiseRejectHandlerUserInteraction.js
+++ b/toolkit/components/antitracking/test/browser/browser_storageAccessPromiseRejectHandlerUserInteraction.js
@@ -1,9 +1,9 @@
-const {Services} = ChromeUtils.import('resource://gre/modules/Services.jsm');
+const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 AntiTracking.runTest("Storage Access API returns promises that maintain user activation for calling its reject handler",
   // blocking callback
   async _ => {
     /* import-globals-from storageAccessAPIHelpers.js */
     let [threw, rejected] = await callRequestStorageAccess(dwu => {
       ok(dwu.isHandlingUserInput,
          "Promise reject handler must run as if we're handling user input");
--- a/toolkit/components/extensions/test/xpcshell/test_ext_incognito.js
+++ b/toolkit/components/extensions/test/xpcshell/test_ext_incognito.js
@@ -1,13 +1,11 @@
 /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set sts=2 sw=2 et tw=80: */
 "use strict";
-const {AddonManager, AddonManagerPrivate} = ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
-const {Extension, ExtensionData} = ChromeUtils.import("resource://gre/modules/Extension.jsm");
 
 AddonTestUtils.init(this);
 AddonTestUtils.overrideCertDB();
 AddonTestUtils.createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "42");
 
 async function runIncognitoTest(extensionData, privateBrowsingAllowed, allowPrivateBrowsingByDefault) {
   Services.prefs.setBoolPref("extensions.allowPrivateBrowsingByDefault", allowPrivateBrowsingByDefault);
 
--- a/toolkit/components/extensions/test/xpcshell/test_ext_permissions_uninstall.js
+++ b/toolkit/components/extensions/test/xpcshell/test_ext_permissions_uninstall.js
@@ -1,13 +1,11 @@
 "use strict";
 
-const {AddonManager} = ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
 const {ExtensionPermissions} = ChromeUtils.import("resource://gre/modules/ExtensionPermissions.jsm");
-const {OS} = ChromeUtils.import("resource://gre/modules/osfile.jsm");
 
 AddonTestUtils.init(this);
 AddonTestUtils.overrideCertDB();
 AddonTestUtils.createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "42");
 
 Services.prefs.setBoolPref("extensions.webextensions.background-delayed-startup", false);
 
 const observer = {