Closed Bug 1356290 Opened 8 years ago Closed 8 years ago

The new console doesn't properly handle new lines in strings

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1353038

People

(Reporter: julienw, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file testcase-error.html
STR: 1. Open the attached file. 2. Open the console. 3. Run "func1().stack" => Notice all newlines are displayed with "\n" instead of a physical new line. Same happens if you manually enter a string like "hello\nworld" or `hello<new line>world` (enter a physical new line for the last one). This is especially painful when dealing with errors, as the example shows, because the stack property usually contains new lines. This happens with the new console in latest nightly. All these cases work fine with the old console, so I'll mark this as a regression.
Flags: qe-verify+
Hi Brian, do you want this bug set an MVP or Reserve?
Flags: needinfo?(bgrinstead)
(In reply to Marco Mucci [:MarcoM] from comment #1) > Hi Brian, do you want this bug set an MVP or Reserve? MVP
Flags: needinfo?(bgrinstead)
Priority: -- → P2
QA Contact: iulia.cristescu
Whiteboard: [new-console]
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Iteration: --- → 55.4 - May 1
Priority: P2 → P1
Whiteboard: [new-console] → [console-html]
This is a dup of a bug I'm working on.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee: odvarko → nobody
Iteration: 55.4 - May 1 → ---
Flags: qe-verify+
Priority: P1 → --
QA Contact: iulia.cristescu
Whiteboard: [console-html]
No need to track this based on the dupe status.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: