Bug 1035171 - Switching tabs triggers onLocationChange with LOCATION_CHANGE_SAME_DOCUMENT flag r=Neil RELEASE_32_END
authorPhilip Chee <philip.chee@gmail.com>
Tue, 23 Sep 2014 04:04:23 +0800
changeset 31097 a178c0b394ad03c240d3830494f154659596239b
parent 31096 c9ebeab8ccf6722d4cd9f988d81045c5e4c8765f
child 31098 0941adb7feaf073cea190bd5a6e7f9c947ad906c
child 31101 15d15b32be58a2966f66a92088568a4535278a88
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [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);