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 513710 815f7149b30b
parent 513709 3c5ec7cfc73a
child 513711 e3ba3ce79b84
child 513740 0778108e409f
child 513827 00a1fd64f704
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [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 = {