Bug 1610850 -Fix lint failure a=lint-fix
authorNoemi Erli <nerli@mozilla.com>
Thu, 26 Mar 2020 20:29:47 +0200
changeset 520617 8c3923411926cff9032863848aaf7eadffbec433
parent 520616 03fc2ea7048c15e40088c7f617e5ded13ab313d8
child 520618 a74b5711286bdab2f7d72eb7d9e25775cae368f5
push id37254
push usernerli@mozilla.com
push dateFri, 27 Mar 2020 04:48:07 +0000
treeherdermozilla-central@2d758b42bd73 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslint-fix
bugs1610850
milestone76.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 1610850 -Fix lint failure a=lint-fix
dom/tests/browser/browser_navigate_replace_browsingcontext.js
--- a/dom/tests/browser/browser_navigate_replace_browsingcontext.js
+++ b/dom/tests/browser/browser_navigate_replace_browsingcontext.js
@@ -1,25 +1,23 @@
 add_task(async function parent_to_remote() {
   await BrowserTestUtils.withNewTab("about:mozilla", async browser => {
     let originalBC = browser.browsingContext;
 
     BrowserTestUtils.loadURI(browser, "https://example.com/");
     await BrowserTestUtils.browserLoaded(browser);
     let newBC = browser.browsingContext;
 
-    isnot(originalBC.id, newBC.id,
-          "Should have replaced the BrowsingContext");
+    isnot(originalBC.id, newBC.id, "Should have replaced the BrowsingContext");
   });
 });
 
 add_task(async function remote_to_parent() {
   await BrowserTestUtils.withNewTab("https://example.com/", async browser => {
     let originalBC = browser.browsingContext;
 
     BrowserTestUtils.loadURI(browser, "about:mozilla");
     await BrowserTestUtils.browserLoaded(browser);
     let newBC = browser.browsingContext;
 
-    isnot(originalBC.id, newBC.id,
-          "Should have replaced the BrowsingContext");
+    isnot(originalBC.id, newBC.id, "Should have replaced the BrowsingContext");
   });
 });