Absurd Zoom Out causes Black Screen

NEW
Unassigned

Status

()

Core
Layout: Misc Code
10 years ago
8 years ago

People

(Reporter: Kendall, Unassigned)

Tracking

({testcase})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7

Taking any page and zooming out ~25 times causes a black screen (pressing "normal" zoom, and refreshing will recover at this point). Pressing Zoom out an addition ~5-10 times will cause the browser to crash.

Reproducible: Always

Steps to Reproduce:
Taking any page and zooming out ~25 times causes a black screen (pressing "normal" zoom, and refreshing will recover at this point). Pressing Zoom out an addition ~5-10 times will cause the browser to crash.
Actual Results:  
See above

Expected Results:  
User should not be allowed to crash the browser.

Using temporary UI described in bug 389628 comment 19.
Told to make this bug block bug 4821, but not sure exactly how to do this...
(Reporter)

Updated

10 years ago
Blocks: 4821
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 1

10 years ago
Created attachment 289910 [details]
Black path due to zoom out and scrolling

This picture shows a black patch and this is caused by zooming out and scrolling.
The non-black patches are where my gimp was, there was a black rectangle all over the text ( not the blue border )
Created attachment 289930 [details]
testcase

The ui doesn't allow anymore to zoom out extremely, but I can still see this bug in current trunk build with this testcase.
It uses enhanced privileges, so you need to download it to your computer.
I'm also seeing these assertions with the testcase:
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285
WARNING: Overflowed nscoord_MAX in conversion to nscoord: file c:\mozilla-build\
mozilla\_firefox\dist\include\xpcom\nsUnitConversion.h, line 100
WARNING: Overflowed nscoord_MAX in conversion to nscoord: file c:\mozilla-build\
mozilla\_firefox\dist\include\xpcom\nsUnitConversion.h, line 100
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285

I don't see any crash, though.

Updated

10 years ago
Keywords: testcase
Created attachment 289931 [details]
testcase
Attachment #289930 - Attachment is obsolete: true
Summary: Absurd Zoom Out causes Black Screen / Browser Crash → Absurd Zoom Out causes Black Screen
You need to log in before you can comment on or make changes to this bug.