Bug 1316736 - Clean up RDM typos. r=ochameau
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 09 Nov 2016 18:38:28 -0600
changeset 322213 5b4f52f937d2f06030cca5848d97598653495abd
parent 322212 626134b9080e4355f25b8e97c19cacfb7575a481
child 322214 a9d5f467f78d17f06bd56f581c1ec9f87bc0f652
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
reviewersochameau
bugs1316736
milestone52.0a1
Bug 1316736 - Clean up RDM typos. r=ochameau MozReview-Commit-ID: 4waiXuzrQDE
devtools/client/framework/target.js
devtools/client/responsive.html/browser/swap.js
devtools/client/responsive.html/browser/tunnel.js
--- a/devtools/client/framework/target.js
+++ b/devtools/client/framework/target.js
@@ -560,17 +560,17 @@ TabTarget.prototype = {
 
   // Automatically respawn the toolbox when the tab changes between being
   // loaded within the parent process and loaded from a content process.
   // Process change can go in both ways.
   onRemotenessChange: function () {
     // Responsive design do a crazy dance around tabs and triggers
     // remotenesschange events. But we should ignore them as at the end
     // the content doesn't change its remoteness.
-    if (this._tab.isReponsiveDesignMode) {
+    if (this._tab.isResponsiveDesignMode) {
       return;
     }
 
     // Save a reference to the tab as it will be nullified on destroy
     let tab = this._tab;
     let onToolboxDestroyed = (event, target) => {
       if (target != this) {
         return;
--- a/devtools/client/responsive.html/browser/swap.js
+++ b/devtools/client/responsive.html/browser/swap.js
@@ -47,17 +47,17 @@ function swapToInnerBrowser({ tab, conta
       bubbles: true,
     });
     from.dispatchEvent(event);
   };
 
   return {
 
     start: Task.async(function* () {
-      tab.isReponsiveDesignMode = true;
+      tab.isResponsiveDesignMode = true;
 
       // Freeze navigation temporarily to avoid "blinking" in the location bar.
       freezeNavigationState(tab);
 
       // 1. Create a temporary, hidden tab to load the tool UI.
       let containerTab = gBrowser.addTab(containerURL, {
         skipAnimation: true,
       });
@@ -148,17 +148,17 @@ function swapToInnerBrowser({ tab, conta
       gBrowser.swapBrowsersAndCloseOther(tab, contentTab);
       gBrowser = null;
 
       // The focus manager seems to get a little dizzy after all this swapping.  If a
       // content element had been focused inside the viewport before stopping, it will
       // have lost focus.  Activate the frame to restore expected focus.
       tab.linkedBrowser.frameLoader.activateRemoteFrame();
 
-      delete tab.isReponsiveDesignMode;
+      delete tab.isResponsiveDesignMode;
     },
 
   };
 }
 
 /**
  * Browser navigation properties we'll freeze temporarily to avoid "blinking" in the
  * location bar, etc. caused by the containerURL peeking through before the swap is
--- a/devtools/client/responsive.html/browser/tunnel.js
+++ b/devtools/client/responsive.html/browser/tunnel.js
@@ -425,17 +425,17 @@ MessageManagerTunnel.prototype = {
     // Messages sent from findbar.xml
     "Findbar:",
     // Messages sent from RemoteFinder.jsm
     "Finder:",
     // Messages sent from InlineSpellChecker.jsm
     "InlineSpellChecker:",
     // Messages sent from pageinfo.js
     "PageInfo:",
-    // Messsage sent from printUtils.js
+    // Messages sent from printUtils.js
     "Printing:",
     // Messages sent from browser-social.js
     "Social:",
     "PageMetadata:",
     // Messages sent from viewSourceUtils.js
     "ViewSource:",
   ],
 
@@ -445,17 +445,17 @@ MessageManagerTunnel.prototype = {
     // Messages sent to DevTools
     "debug:",
     // Messages sent to findbar.xml
     "Findbar:",
     // Messages sent to RemoteFinder.jsm
     "Finder:",
     // Messages sent to pageinfo.js
     "PageInfo:",
-    // Messsage sent from printUtils.js
+    // Messages sent to printUtils.js
     "Printing:",
     // Messages sent to browser-social.js
     "Social:",
     "PageMetadata:",
     // Messages sent to viewSourceUtils.js
     "ViewSource:",
   ],