Closed Bug 570941 Opened 14 years ago Closed 14 years ago

Javascript alert() dialog does not respect \n linebreaks

Categories

(Firefox for Android Graveyard :: General, defect)

Other
Other
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 570201

People

(Reporter: pepitoe+moz, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Build Identifier: Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2.5pre) Gecko/20100419 Firefox/3.6.5pre Fennec/1.1b1

The javascript alert() dialogs in fennec on Maemo 5 do not appear to support \n linebreaks.  This can be seen when tapping on the letter A on acid3.acidtests.org to view the test details.

Reproducible: Always

Steps to Reproduce:
1.  Go to acid3.acidtests.org and allow test to run for a while
2.  Tap on letter A to bring up more detailed results in alert() dialog
Actual Results:  
There are no line breaks in the text where there should be, other browsers including desktop Firefox do display the breaks correctly.

Expected Results:  
The line breaks should be respected.

Respecting the line breaks will cause more scrolling in the alert dialog, but it will be more readable.  It would be better if the dialog would use a bit more of the available vertical screen space.
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.