Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r?Mossop draft
authorMark Banner <standard8@mozilla.com>
Wed, 07 Feb 2018 16:41:19 +0000
changeset 752257 8611f12f80f2fa350afef441ef8bef7ad12a1d5f
parent 752256 2a5e1644326e5526d50952c0f4e129a698aa9483
push id98202
push userbmo:standard8@mozilla.com
push dateWed, 07 Feb 2018 19:25:55 +0000
reviewersMossop
bugs1436389
milestone60.0a1
Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r?Mossop MozReview-Commit-ID: 9yCnRlu2k1a
testing/talos/talos/scripts/talos-debug.js
testing/talos/talos/tests/devtools/addon/content/damp.js
--- a/testing/talos/talos/scripts/talos-debug.js
+++ b/testing/talos/talos/scripts/talos-debug.js
@@ -164,11 +164,11 @@ window.talosDebug = {
       res += "\n\n[set window.talosDebug.displayData=true for data]";
     }
 
     alert(res);
   }
 };
 
 // Enable testing outside of talos by providing an alternative report function.
-if (typeof (tpRecordTime) === "undefined") {
+if (typeof(tpRecordTime) === "undefined") {
   tpRecordTime = window.talosDebug.tpRecordTime;
 }
--- a/testing/talos/talos/tests/devtools/addon/content/damp.js
+++ b/testing/talos/talos/tests/devtools/addon/content/damp.js
@@ -281,17 +281,17 @@ Damp.prototype = {
   closeCurrentTab() {
     this._win.BrowserCloseTabOrWindow();
     return this._win.gBrowser.selectedTab;
   },
 
   reloadPage(onReload) {
     return new Promise(resolve => {
       let browser = gBrowser.selectedBrowser;
-      if (typeof (onReload) == "function") {
+      if (typeof(onReload) == "function") {
         onReload().then(resolve);
       } else {
         browser.addEventListener("load", resolve, {capture: true, once: true});
       }
       browser.reload();
     });
   },