Closed
Bug 367070
Opened 19 years ago
Closed 19 years ago
new browser window is broken if it is opened from a window in which the findbar is open ('Error: this._browser has no properties').
Categories
(Toolkit :: Find Toolbar, defect, P2)
Toolkit
Find Toolbar
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha2
People
(Reporter: moco, Assigned: asaf)
References
Details
(Keywords: regression)
Attachments
(3 files, 2 obsolete files)
|
11.45 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.57 KB,
application/vnd.mozilla.xul+xml
|
Gavin
:
review+
|
Details |
|
1.21 KB,
patch
|
Gavin
:
review-
|
Details | Diff | Splinter Review |
personal bookmarks toolbar blank if I open a new browser window from a browser when when the find bar is showing.
in my js console:
Error: this._browser has no properties
Source File: chrome://global/content/bindings/findbar.xml
Line: 641
I'm using my own (slightly old, debug trunk):
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070105 Minefield/3.0a2pre
i'll update, and rebuild and see if I still see this problem.
Comment 1•19 years ago
|
||
You'll still see it, it was busted in my 2006-11-26 17:00 build so the findbar widget's always done that, and apparently no trunk tester has opened a new window over a month and a half.
Blocks: xblfindbar
Component: Bookmarks → Find Toolbar / FastFind
OS: Windows XP → All
QA Contact: bookmarks → fast.find
Hardware: PC → All
| Reporter | ||
Comment 2•19 years ago
|
||
thanks phil. I double checked, and I see this regression with the most recent trunk binaries, but not with fx 2.0.0.1.
| Assignee | ||
Comment 3•19 years ago
|
||
| Assignee | ||
Updated•19 years ago
|
Comment 4•19 years ago
|
||
Comment on attachment 251587 [details] [diff] [review]
patch
>Index: toolkit/content/widgets/findbar.xml
You missed a couple of findbar._browser references in the findbar-textbox binding (atm they only work because open() calls _updateCaseSensitivity() which calls the "browser" getter). r=me with those fixed.
Attachment #251587 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Updated•19 years ago
|
Summary: personal bookmarks toolbar blank if I open a new browser window from a browser when when the find bar is showing: "Error: this._browser has no properties" from findbar.xml (line 641) → new browser window is broken if it is opened from a window in which the findbar is open ('Error: this._browser has no properties').
| Assignee | ||
Comment 5•19 years ago
|
||
mozilla/toolkit/content/widgets/findbar.xml 1.6
Attachment #251587 -
Attachment is obsolete: true
| Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
Comment on attachment 251641 [details] [diff] [review]
wrong patch
This isn't what you checked in, thankfully :)
Attachment #251641 -
Attachment description: as checked in → wrong patch
Attachment #251641 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•19 years ago
|
||
My manage-multiple-trees skills need some love indeed
Comment 8•19 years ago
|
||
this should not have been r+'d without a test. If a test case can be written for bug 288254, one can be written for this.
Updated•19 years ago
|
Flags: in-testsuite?
| Assignee | ||
Comment 9•19 years ago
|
||
I will make sure to write this (these) tests once we have the necessary framework in place.
Comment 10•19 years ago
|
||
(In reply to comment #9)
> I will make sure to write this (these) tests once we have the necessary
> framework in place.
That is not the policy. Refer to
<http://www.mozilla.org/projects/toolkit/review.html>
"If a unit test framework is needed but is not yet available, the developer should write appropriate test code and commit it. A bug should be filed on the needed test framework."
| Assignee | ||
Comment 11•19 years ago
|
||
Attachment #251754 -
Flags: review?(gavin.sharp)
Comment 12•19 years ago
|
||
This bug has regressed Find-as-you-type: there is no response to / or '. Seen on Windows and Linux (no mac to test with) and there aren't any messages in the Error Console.
I tested with the first hourly build after this landed, which only had this checkin.
| Assignee | ||
Comment 13•19 years ago
|
||
Attachment #251819 -
Flags: review?(gavin.sharp)
Comment 14•19 years ago
|
||
Comment on attachment 251819 [details] [diff] [review]
regression fix
>Index: toolkit/content/widgets/findbar.xml
>+ setTimeout(function(aSelf) { aSelf.browser = aSelf.browser), 0, this);
Wrong end bracket there, and missing semicolon. Please attach this patch to a new bug that blocks this one.
Attachment #251819 -
Flags: review?(gavin.sharp) → review-
Updated•19 years ago
|
Attachment #251754 -
Flags: review?(gavin.sharp) → review+
Updated•18 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•