Closed Bug 625726 Opened 14 years ago Closed 14 years ago

if alert() contains lot of long strings appears scrollbar.

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 613749

People

(Reporter: black0swamp, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110113 Firefox/4.0b10pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110113 Firefox/4.0b10pre

Instead of scrollbars i suggest use some sort of autosizing box, width and height will be detecting automatically based on contains of alert()

Reproducible: Always

Steps to Reproduce:
1. If alert() contains lot of long strings, example javascript:alert('very looooooooooong string number 1\nsecond very looooooooooong string\nanother very looooooooooong string\nsecond very looooooooooong string\nanother  very looooooooooong string')
Actual Results:  
results on that screenshot
http://i4.imageban.ru/out/2011/01/14/99ebc469c5abf717102a3b8ca62cfe30.jpg


Expected Results:  
http://i4.imageban.ru/out/2011/01/14/99ebc469c5abf717102a3b8ca62cfe30.jpg
actually Expected Results will be different i simply can't do screenshot of expected results
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.