Bug 1035171 - Switching tabs triggers onLocationChange with LOCATION_CHANGE_SAME_DOCUMENT flag r=Neil GECKO330b1_2014091904_RELBRANCH
authorPhilip Chee <philip.chee@gmail.com>
Tue, 23 Sep 2014 04:04:23 +0800
branchGECKO330b1_2014091904_RELBRANCH
changeset 20630 ec9d0275b7631bd31b768ed0825fbd219b6de9d3
parent 20629 d6186e633330af8dbdf2e1b260b445e23bf5c17c
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs1035171
Bug 1035171 - Switching tabs triggers onLocationChange with LOCATION_CHANGE_SAME_DOCUMENT flag r=Neil Don't send LOCATION_CHANGE_SAME_DOCUMENT in tabbrowser::updateUrlBar() a=Callek a=comm-aurora a=comm-beta a=comm-release CLOSED TREE
suite/browser/tabbrowser.xml
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -996,17 +996,17 @@
             this.mCurrentTab.removeAttribute("unread");
             var tabListener = this.mTabListeners[this.tabContainer.selectedIndex];
 
             // Update the URL bar.
             const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;
             this.updateUrlBar(newBrowser.webProgress,
                               null,
                               newBrowser.currentURI,
-                              nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT,
+                              0,
                               newBrowser.securityUI,
                               newBrowser,
                               tabListener.mFeeds);
 
             // Send the state, status and progress to all progress listeners.
             var flags = tabListener.mStateFlags &
                 (nsIWebProgressListener.STATE_START |
                  nsIWebProgressListener.STATE_STOP);