Bug 1558299 - Fix ESLint failures in browser_fileURL.js on a CLOSED TREE. r=eslint
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 05 Jul 2019 16:29:44 -0400
changeset 544342 67c10b4049fadac67fba295ecf549315f2271025
parent 544341 c2f8e46a5e3678ccd17e6690962b8d295c852d05
child 544343 0a1d70a3f84d7eb94eeff16949455c75c27a7901
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint
bugs1558299
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1558299 - Fix ESLint failures in browser_fileURL.js on a CLOSED TREE. r=eslint
dom/workers/test/browser_fileURL.js
--- a/dom/workers/test/browser_fileURL.js
+++ b/dom/workers/test/browser_fileURL.js
@@ -2,17 +2,19 @@
  * 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";
 
 const WORKER_BODY = "postMessage(42);\n";
 
 // file:// tests.
 add_task(async function() {
-  await SpecialPowers.pushPrefEnv({set: [["privacy.file_unique_origin", false]]});
+  await SpecialPowers.pushPrefEnv({
+    set: [["privacy.file_unique_origin", false]],
+  });
 
   info("Creating the tmp directory.");
   let parent = Cc["@mozilla.org/file/directory_service;1"]
     .getService(Ci.nsIDirectoryService)
     .QueryInterface(Ci.nsIProperties)
     .get("TmpD", Ci.nsIFile);
   parent.append("worker-dir-test");
   parent.createUnique(Ci.nsIFile.DIRECTORY_TYPE, 0o700);