Bug 1035171 - Switching tabs triggers onLocationChange with LOCATION_CHANGE_SAME_DOCUMENT flag r=Neil
authorPhilip Chee <philip.chee@gmail.com>
Tue, 23 Sep 2014 04:04:23 +0800
changeset 25473 41c5afb2089efac25e98f55d1c58d379173f7bcb
parent 25472 cc23764d52278bfae92e2083511df45da3a65a29
child 25474 3af6b75f9528d82310cf29cf1c1e54259c1c3cc2
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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);