Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN
authorPaul Bignier <paul.bignier@gmail.com>
Mon, 03 Apr 2017 15:26:11 -0700
changeset 555402 d32b1a2deab12016f264786d2557848d1e445857
parent 555401 ccc7dd000cc2e0087a156333bcc36979cae4d907
child 555403 aa9afbb505052da3d87f7451b7315ac4cc95cd00
push id52236
push usercykesiopka.bmo@gmail.com
push dateTue, 04 Apr 2017 09:12:57 +0000
reviewersMattN
bugs1352808
milestone55.0a1
Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN MozReview-Commit-ID: IA42yQO5Sb8
browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js
devtools/client/animationinspector/test/doc_frame_script.js
devtools/client/inspector/rules/test/doc_frame_script.js
devtools/client/inspector/shared/test/doc_frame_script.js
dom/workers/WorkerPrivate.cpp
toolkit/content/TopLevelVideoDocument.js
--- a/browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js
+++ b/browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js
@@ -23,17 +23,17 @@ let testCasesForBothSuccessAndAbort = [
     yield freePortal(aSuccess);
     ensureNoPortalTab(win);
     ensureNoPortalNotification(win);
     yield closeWindowAndWaitForXulWindowVisible(win);
   },
 
   /**
    * A portal is detected when multiple browser windows are open but none
-   * have focus. A brower window is focused, then the portal is freed.
+   * have focus. A browser window is focused, then the portal is freed.
    * The portal tab should be added and focused when the window is
    * focused, and closed automatically when the success event is fired.
    * The captive portal notification should be shown in all windows upon
    * detection, and closed automatically when the success event is fired.
    */
   function* test_detectedWithNoBrowserWindow_Focused(aSuccess) {
     let win1 = yield openWindowAndWaitForFocus();
     let win2 = yield openWindowAndWaitForFocus();
--- a/devtools/client/animationinspector/test/doc_frame_script.js
+++ b/devtools/client/animationinspector/test/doc_frame_script.js
@@ -1,16 +1,16 @@
 /* vim: set ft=javascript ts=2 et sw=2 tw=80: */
 /* Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/ */
 /* globals addMessageListener, sendAsyncMessage */
 
 "use strict";
 
-// A helper frame-script for brower/devtools/animationinspector tests.
+// A helper frame-script for browser/devtools/animationinspector tests.
 
 /**
  * Toggle (play or pause) one of the animation players of a given node.
  * @param {Object} data
  * - {String} selector The CSS selector to get the node (can be a "super"
  *   selector).
  * - {Number} animationIndex The index of the node's animationPlayers to play
  *   or pause
--- a/devtools/client/inspector/rules/test/doc_frame_script.js
+++ b/devtools/client/inspector/rules/test/doc_frame_script.js
@@ -1,16 +1,16 @@
 /* vim: set ft=javascript ts=2 et sw=2 tw=80: */
 /* Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/ */
 /* globals addMessageListener, sendAsyncMessage */
 
 "use strict";
 
-// A helper frame-script for brower/devtools/styleinspector tests.
+// A helper frame-script for browser/devtools/styleinspector tests.
 //
 // Most listeners in the script expect "Test:"-namespaced messages from chrome,
 // then execute code upon receiving, and immediately send back a message.
 // This is so that chrome test code can execute code in content and wait for a
 // response this way:
 // let response = yield executeInContent(browser, "Test:msgName", data, true);
 // The response message should have the same name "Test:msgName"
 //
--- a/devtools/client/inspector/shared/test/doc_frame_script.js
+++ b/devtools/client/inspector/shared/test/doc_frame_script.js
@@ -1,16 +1,16 @@
 /* vim: set ft=javascript ts=2 et sw=2 tw=80: */
 /* Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/ */
 /* globals addMessageListener, sendAsyncMessage */
 
 "use strict";
 
-// A helper frame-script for brower/devtools/styleinspector tests.
+// A helper frame-script for browser/devtools/styleinspector tests.
 //
 // Most listeners in the script expect "Test:"-namespaced messages from chrome,
 // then execute code upon receiving, and immediately send back a message.
 // This is so that chrome test code can execute code in content and wait for a
 // response this way:
 // let response = yield executeInContent(browser, "Test:MsgName", data, true);
 // The response message should have the same name "Test:MsgName"
 //
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -3977,17 +3977,17 @@ WorkerPrivateParent<Derived>::FlushRepor
     WindowAction& windowAction = windowActions[index];
 
     aReporter->FlushReportsToConsole(
       windowAction.mWindow->WindowID(),
       nsIConsoleReportCollector::ReportAction::Save);
     reportErrorToBrowserConsole = false;
   }
 
-  // Finally report to broswer console if there is no any window or shared
+  // Finally report to browser console if there is no any window or shared
   // worker.
   if (reportErrorToBrowserConsole) {
     aReporter->FlushReportsToConsole(0);
     return;
   }
 
   aReporter->ClearConsoleReports();
 }
--- a/toolkit/content/TopLevelVideoDocument.js
+++ b/toolkit/content/TopLevelVideoDocument.js
@@ -19,17 +19,17 @@ document.addEventListener("keypress", ev
   if (ev.key == "F11" && videoElement.videoWidth != 0 && videoElement.videoHeight != 0) {
     // If we're in browser fullscreen mode, it means the user pressed F11
     // while browser chrome or another tab had focus.
     // Don't break leaving that mode, so do nothing here.
     if (window.fullScreen) {
       return;
     }
 
-    // If we're not in broser fullscreen mode, prevent entering into that,
+    // If we're not in browser fullscreen mode, prevent entering into that,
     // so we don't end up there after pressing Esc.
     ev.preventDefault();
     ev.stopPropagation();
 
     if (!document.mozFullScreenElement) {
       videoElement.mozRequestFullScreen();
     } else {
       document.mozCancelFullScreen();