Bug 1517768 - Fix typos of DocShell spelling. r=baku
authorJonathan Kingston <jkt@mozilla.com>
Fri, 04 Jan 2019 23:17:00 +0000
changeset 452638 94cd5fa46f95d1109e31750b4708c324a5de749e
parent 452637 d3741459641932fa5735692e20c6464ea2597c59
child 452639 61bc6ebb639b73924654f8399d38ef75ace23a1b
push id35319
push userdluca@mozilla.com
push dateSat, 05 Jan 2019 21:51:45 +0000
treeherdermozilla-central@e54046e15abe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1517768
milestone66.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 1517768 - Fix typos of DocShell spelling. r=baku Differential Revision: https://phabricator.services.mozilla.com/D15733
docshell/base/nsDocShell.cpp
docshell/base/nsIDocShell.idl
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -2540,17 +2540,17 @@ Maybe<ClientInfo> nsDocShell::GetInitial
   return innerWindow->GetClientInfo();
 }
 
 void nsDocShell::RecomputeCanExecuteScripts() {
   bool old = mCanExecuteScripts;
   RefPtr<nsDocShell> parent = GetParentDocshell();
 
   // If we have no tree owner, that means that we've been detached from the
-  // docshell tree (this is distinct from having no parent dochshell, which
+  // docshell tree (this is distinct from having no parent docshell, which
   // is the case for root docshells). It would be nice to simply disallow
   // script in detached docshells, but bug 986542 demonstrates that this
   // behavior breaks at least one website.
   //
   // So instead, we use our previous value, unless mAllowJavascript has been
   // explicitly set to false.
   if (!mTreeOwner) {
     mCanExecuteScripts = mCanExecuteScripts && mAllowJavascript;
--- a/docshell/base/nsIDocShell.idl
+++ b/docshell/base/nsIDocShell.idl
@@ -250,17 +250,17 @@ interface nsIDocShell : nsIDocShellTreeI
     APP_TYPE_UNKNOWN = 0,
     APP_TYPE_MAIL    = 1,
     APP_TYPE_EDITOR  = 2
   };
 
   [infallible] attribute nsIDocShell_AppType appType;
 
   /**
-   * certain dochshells (like the message pane)
+   * certain docshells (like the message pane)
    * should not throw up auth dialogs
    * because it can act as a password trojan
    */
   attribute boolean allowAuth;
 
   /**
    * Set/Get the document scale factor.  When setting this attribute, a
    * NS_ERROR_NOT_IMPLEMENTED error may be returned by implementations
@@ -932,17 +932,17 @@ interface nsIDocShell : nsIDocShellTreeI
   void doCommandWithParams(in string command, in nsICommandParams aParams);
 
   /**
    * Invisible DocShell are dummy construct to simulate DOM windows
    * without any actual visual representation. They have to be marked
    * at construction time, to avoid any painting activity.
    */
   [noscript, notxpcom] bool IsInvisible();
-  [noscript, notxpcom] void SetInvisible(in bool aIsInvisibleDochsell);
+  [noscript, notxpcom] void SetInvisible(in bool aIsInvisibleDocshell);
 
 /**
  * Get the script global for the document in this docshell.
 */
   [noscript,notxpcom,nostdcall] nsIScriptGlobalObject GetScriptGlobalObject();
 
   /**
    * If deviceSizeIsPageSize is set to true, device-width/height media queries