Bug 1302178 - fix ESlint error in browser_FinderHighlighter.js. r=me, a=tomcat
authorMike de Boer <mdeboer@mozilla.com>
Thu, 15 Sep 2016 11:34:27 +0200
changeset 355286 f3b243d3f8431f0741d5ac62dd29cf923ef52e98
parent 355285 b0d4784f8f85e17c266e6a2aa035f354606e1090
child 355287 667d8adc0bc3e70f39732b6651f289f36d77873c
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, tomcat
bugs1302178
milestone51.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 1302178 - fix ESlint error in browser_FinderHighlighter.js. r=me, a=tomcat MozReview-Commit-ID: FhNkbzenRAp
toolkit/modules/tests/browser/browser_FinderHighlighter.js
--- a/toolkit/modules/tests/browser/browser_FinderHighlighter.js
+++ b/toolkit/modules/tests/browser/browser_FinderHighlighter.js
@@ -76,17 +76,17 @@ function promiseTestHighlighterOutput(br
       // The initial timeout may wait for a while for results to come in.
       let timeout = setTimeout(() => finish(false, "Timeout"), kTimeoutMs * 5);
 
       function finish(ok = true, message = "finished with error") {
         // Restore the functions we stubbed out.
         try {
           content.document.insertAnonymousContent = stubbed.insert;
           content.document.removeAnonymousContent = stubbed.remove;
-        } catch(ex) {}
+        } catch (ex) {}
         stubbed = {};
         clearTimeout(timeout);
 
         if (expectedResult.rectCount !== 0)
           Assert.ok(ok, message);
 
         Assert.greaterOrEqual(callCounts.insertCalls.length, expectedResult.insertCalls[0],
           `Min. insert calls should match for '${word}'.`);