Closed
Bug 232496
Opened 22 years ago
Closed 22 years ago
Javascript Tab Escape Sequence not rendered as tab.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: keithm, Unassigned)
References
()
Details
User-Agent:
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031223
When using the escape sequence for a tab character in javascript alert boxes, a
tab is not inserted in is place. The actual behaviour depends on how it's used.
In code like this:
alert('abc\txyz');
The \t is simple replaced with a space so the output is 'abc xyz'
In code like this:
alert('abc\n\txyz');
Nothing is inserted in for the tab, the output is like so:
abc
xyz
Reproducible: Always
Steps to Reproduce:
Actual Results:
No tab is created.
Expected Results:
In code like this:
alert('abc\txyz');
The output should be like:
abc xyz
In code like this:
alert('abc\n\txyz');
The output should be like:
abc
xyz
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 50348 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•