No bug - Fix some odd white-space in tabmail.xml; rs=white-space-only
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 20 Dec 2018 21:12:37 +1300
changeset 34034 04d7082e573a71f892831c1078c8ee03dd0e4207
parent 34033 66eedcaff9fac89a318dd866d42b3777e32e58c4
child 34035 b382906f387f061ee84197074fd9193420cda84d
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewerswhite-space-only
No bug - Fix some odd white-space in tabmail.xml; rs=white-space-only
mail/base/content/tabmail.xml
--- a/mail/base/content/tabmail.xml
+++ b/mail/base/content/tabmail.xml
@@ -974,22 +974,21 @@
           tab.mode.tabs.splice(modeIdx, 0, tab);
 
           let evt = new CustomEvent("TabMove", {
             bubbles: true, view: window, detail: { idx: oldIdx, tabInfo: tab },
           });
           tabNode.dispatchEvent(evt);
 
           return aIndex;
-         ]]>
-         </body>
-       </method>
-       <method name="persistTab">
-         <parameter name="tab"/>
-         <body><![CDATA[
+        ]]></body>
+      </method>
+      <method name="persistTab">
+        <parameter name="tab"/>
+        <body><![CDATA[
            /* Returns null in case persist fails */
 
            let persistFunc = tab.mode.persistTab || tab.mode.tabType.persistTab;
 
            // if we can't restore the tab we can't move it
            if (!persistFunc)
              return null;
 
@@ -1620,31 +1619,31 @@
             if (doCommandFunc)
               doCommandFunc.call(tab.mode.tabType, aCommand, tab);
           ]]>
         </body>
       </method>
       <method name="onEvent">
         <parameter name="aEvent"/>
         <body>
-           <![CDATA[
-             let tab = this.currentTabInfo;
-
-             // This can happen if we're starting up and haven't got a tab
-             // loaded yet.
-             if (!tab)
-               return null;
-
-             let onEventFunc = tab.mode.onEvent ||
-                               tab.mode.tabType.onEvent;
-             if (onEventFunc)
-               return onEventFunc.call(tab.mode.tabType, aEvent, tab);
-
-             return false;
-           ]]>
+          <![CDATA[
+            let tab = this.currentTabInfo;
+
+            // This can happen if we're starting up and haven't got a tab
+            // loaded yet.
+            if (!tab)
+              return null;
+
+            let onEventFunc = tab.mode.onEvent ||
+                              tab.mode.tabType.onEvent;
+            if (onEventFunc)
+              return onEventFunc.call(tab.mode.tabType, aEvent, tab);
+
+            return false;
+          ]]>
         </body>
       </method>
       <!-- Set the document title based on the tab title -->
       <method name="setDocumentTitle">
         <parameter name="aTab"/>
         <body>
           <![CDATA[
             let docTitle = aTab.title ? aTab.title.trim() : "";
@@ -1663,42 +1662,42 @@
           ]]>
         </body>
       </method>
       <method name="addTabsProgressListener">
         <parameter name="aListener"/>
         <body>
           <![CDATA[
             this.mTabsProgressListeners.add(aListener);
-           ]]>
+          ]]>
         </body>
       </method>
       <method name="removeTabsProgressListener">
         <parameter name="aListener"/>
         <body>
           <![CDATA[
             this.mTabsProgressListeners.delete(aListener);
-           ]]>
+          ]]>
         </body>
       </method>
       <method name="_callTabListeners">
         <parameter name="aMethod"/>
         <parameter name="aArgs"/>
         <body>
           <![CDATA[
             for (let listener of this.mTabsProgressListeners.values()) {
               if (aMethod in listener) {
                 try {
                   listener[aMethod](...aArgs);
                 } catch (e) {
                   Cu.reportError(e);
                 }
               }
             }
-           ]]>
+          ]]>
         </body>
       </method>
       <method name="onProgressChange">
         <parameter name="aWebProgress"/>
         <parameter name="aRequest"/>
         <parameter name="aCurSelf"/>
         <parameter name="aMaxSelf"/>
         <parameter name="aCurTotal"/>