Closed Bug 407009 Opened 17 years ago Closed 17 years ago

"ASSERTION: Shouldn't be forcing a hidden scrollbar to show!" with xul tree in <select>

Categories

(Core :: Layout, defect, P2)

x86
macOS
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: roc)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(3 files)

Attached file testcase
###!!! ASSERTION: Shouldn't be forcing a hidden scrollbar to show!: '!aForce', file /Users/jruderman/trunk/mozilla/layout/generic/nsGfxScrollFrame.cpp, line 334

I'm pretty sure this is a regression from within the last few days.  Maybe it's a regression from bug 375304?

I think this can lead to a crash [@ nsHTMLScrollFrame::ReflowScrolledFrame].
almost certainly bug 375304, yes
Assignee: nobody → roc
Flags: blocking1.9?
Blocks: 375304
Attached patch trivial patchSplinter Review
Attachment #291742 - Flags: superreview?(dbaron)
Attachment #291742 - Flags: review?(dbaron)
Whiteboard: [needs review]
Comment on attachment 291742 [details] [diff] [review]
trivial patch

r+sr=dbaron
Attachment #291742 - Flags: superreview?(dbaron)
Attachment #291742 - Flags: superreview+
Attachment #291742 - Flags: review?(dbaron)
Attachment #291742 - Flags: review+
(In reply to comment #0)
> I think this can lead to a crash [@ nsHTMLScrollFrame::ReflowScrolledFrame].
> 
You don't say. ;) Bug 407047

Depends on: 407047
No longer depends on: 407047
Roc set a priority if you need to...
Flags: blocking1.9? → blocking1.9+
Attached image result on linux
i created a debug build with this patch included to test bug 407015 and Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b2pre) Gecko/2007120610 Minefield/3.0b2pre does not report a assertion on the testcase.

I have attached a image how the testcase looks now. Not sure if this is the expected result.
It's good enough given the testcase.
Whiteboard: [needs review] → [needs landing]
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
Crashtest checked in.
Flags: in-testsuite+
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050621 Firefox/3.0pre -no assertion on testcase
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: