Bug 1272401 - Followup Nit fix missed in previous update. r=IanN a=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sat, 23 Jul 2016 10:12:05 +0200
changeset 19424 3acada2d4bff852926456f684641309242381fe8
parent 19423 b70cc92f712940a38e5a1d040da3b5a8d8c007ac
child 19425 f72907cdbb0f297a4e7e0a7beef6fb2c546d9d38
push id1725
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:35:08 +0000
treeherdercomm-esr52@c616ae59d075 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1272401
Bug 1272401 - Followup Nit fix missed in previous update. r=IanN a=IanN
suite/browser/tabbrowser.xml
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -545,23 +545,21 @@
                 this.mTab.removeAttribute("progress");
 
                 if (aWebProgress.isTopLevel) {
                   let isSuccessful = Components.isSuccessCode(aStatus);
                   if (!isSuccessful && !isTabEmpty(this.mTab)) {
                     // Restore the current document's location in case the
                     // request was stopped (possibly from a content script)
                     // before the location changed.
-
                     this.mBrowser.userTypedValue = null;
 
                     let inLoadURI = this.mBrowser.inLoadURI;
-                    if (this.mTab.selected && gURLBar && !inLoadURI) {
+                    if (this.mTab.selected && gURLBar && !inLoadURI)
                       URLBarSetURI();
-                    }
                   } else if (isSuccessful) {
                     this.mBrowser.urlbarChangeTracker.finishedLoad();
                   }
 
                   if (!this.mBrowser.mIconURL)
                     this.mTabBrowser.useDefaultIcon(this.mTab);
                 }