Bug 584630 - Find / FAYT is not focusing on correct tab, so returns no or invalid results, r=Callek, a=Callek
authorFrank Wein <mcsmurf@mcsmurf.de>
Sat, 14 Aug 2010 14:33:19 +0200
changeset 6158 e05dc1486d500c5ca4331a96276a16712bcae3ca
parent 6157 ea32f3539d5d9a9c337a22bb150b48cc8915a14f
child 6159 6e5632e4d2f09f27128b944f32c595bcc2e47cd5
push id4762
push usermcsmurf@mcsmurf.de
push dateSat, 14 Aug 2010 12:33:40 +0000
treeherdercomm-central@e05dc1486d50 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, Callek
bugs584630
Bug 584630 - Find / FAYT is not focusing on correct tab, so returns no or invalid results, r=Callek, a=Callek
suite/browser/tabbrowser.xml
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -1084,16 +1084,19 @@
                               newBrowser.currentURI,
                               newBrowser.securityUI,
                               newBrowser,
                               this.mTabListeners[this.tabContainer.selectedIndex].mFeeds);
 
             // Update the window title.
             this.updateTitlebar();
 
+            // FAYT
+            this.fastFind.setDocShell(this.mCurrentBrowser.docShell);
+
             // If the new tab is busy, and our current state is not busy, then
             // we need to fire a start to all progress listeners.
             const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;
             if (this.mCurrentTab.hasAttribute("busy") && !this.mIsBusy) {
               this.mIsBusy = true;
 
               var webProgress = this.mCurrentBrowser.webProgress;
               this.mProgressListeners.forEach(