Closed Bug 314819 Opened 19 years ago Closed 19 years ago

Exception in browser.xml when closing the history sidebar (nsITypeAheadFind.setDocShell)

Categories

(Toolkit :: Find Toolbar, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: masayuki)

References

Details

(Keywords: regression)

When closing the history sidebar I get following reproducable exception with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051101 Firefox/1.6a1 Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITypeAheadFind.setDocShell]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onPageHide :: line 455" data: no] Source File: chrome://global/content/bindings/browser.xml Line: 455
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051102 Firefox/1.6a1 ID:2005110217 I see this too. Only in trunk.
OS: Linux → All
The error appeared for the first time between 1.9a1_2005103113 and 1.9a1_2005103122.
Depends on: 314288
Code fragment where it happens: <method name="onPageHide"> var tabBrowser = this.getTabBrowser(); if (!tabBrowser || tabBrowser.mCurrentBrowser == this) this.fastFind.setDocShell(this.docShell); ^^^^^^^^^^^ This regression is produced by the check-in of bug 314288.
No longer depends on: 314288
Keywords: regression
Depends on: 314288
I cannot reproduce with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051110 Firefox/1.6a1. Please tell me more detail for the steps.
(In reply to comment #4) > I cannot reproduce with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; > rv:1.9a1) Gecko/20051110 Firefox/1.6a1. Still visible with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051112 Firefox/1.6a1 To reproduce you only have to open the history sidebar and close it afterwards with CRTL+H. Nothing more to do.
with javascript.options.showInConsole to true.
Thanks, I can reproduce too. This will fix by bug 315653.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
*** Bug 320862 has been marked as a duplicate of this bug. ***
*** Bug 328710 has been marked as a duplicate of this bug. ***
bug 315653 is fixed. this is fixed by it.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.