Bug 1265881 followup: fix some DOS line endings that crept in rs=typos a=typofix
authorPhilip Chee <philip.chee@gmail.com>
Thu, 05 Jan 2017 23:07:57 +0800
changeset 20961 b41082f7b0c6d6223c7f7000276b2e0ad329a5f8
parent 20960 7f8fe6bf3004d4968569227b049ae4a1e31affde
child 20962 c9742e200e3f10a385f0fd06ac2acf256543d438
push id12710
push userphilip.chee@gmail.com
push dateThu, 05 Jan 2017 15:10:22 +0000
treeherdercomm-central@b41082f7b0c6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstypos, typofix
bugs1265881
Bug 1265881 followup: fix some DOS line endings that crept in rs=typos a=typofix
suite/browser/urlbarBindings.xml
--- a/suite/browser/urlbarBindings.xml
+++ b/suite/browser/urlbarBindings.xml
@@ -348,25 +348,25 @@
     </content>
 
     <implementation>
       <constructor><![CDATA[
         // listen for changes to default search engine
         this.mPrefs.addObserver("browser.search", this.mObserver, false);
         this.mPrefs.addObserver("browser.urlbar", this.mObserver, false);
         this.mObSvc.addObserver(this.mObserver,
-                                "browser-search-engine-modified", false);
+                                "browser-search-engine-modified", false);
         this.updateEngines();
       ]]></constructor>
 
       <destructor><![CDATA[
         this.mPrefs.removeObserver("browser.search", this.mObserver);
         this.mPrefs.removeObserver("browser.urlbar", this.mObserver);
         this.mObSvc.removeObserver(this.mObserver,
-                                   "browser-search-engine-modified");
+                                   "browser-search-engine-modified");
       ]]></destructor>
 
       <property name="showSearch" onget="return this.mShowSearch;">
         <setter><![CDATA[
           this.mShowSearch = val;
           if (val) {
             this.updateEngines();
             this.mSearchBox.removeAttribute("hidden");
@@ -387,35 +387,35 @@
 
       <field name="mPrefs">
         Components.classes["@mozilla.org/preferences-service;1"]
                   .getService(Components.interfaces.nsIPrefService)
                   .getBranch(null);
       </field>
 
       <field name="mObSvc">
-        Components.classes["@mozilla.org/observer-service;1"]
-                  .getService(Components.interfaces.nsIObserverService);
+        Components.classes["@mozilla.org/observer-service;1"]
+                  .getService(Components.interfaces.nsIObserverService);
       </field>
 
       <field name="mSearchService">
         Components.classes["@mozilla.org/browser/search-service;1"]
                   .getService(Components.interfaces.nsIBrowserSearchService);
       </field>
 
       <field name="mObserver"><![CDATA[
         ({
           resultsPopup: this,
 
           observe: function(aSubject, aTopic, aData) {
             switch (aTopic) {
               case "browser-search-engine-modified":
                 if (aData == "engine-current") {
                   this.resultsPopup.updateEngines();
-                }
+                }
                 break;
               case "nsPref:changed":
                 if (/^browser\.search\./.test(aData))
                   this.resultsPopup.updateEngines();
                 else if (/^browser\.urlbar\./.test(aData))
                   this.resultsPopup.updatePref(aData);
                 break;
               default: