Closed
Bug 1477860
Opened 6 years ago
Closed 6 years ago
Add a test to ensure copy/pasted error stacktrace is readable
Categories
(DevTools :: Console, defect, P1)
DevTools
Console
Tracking
(firefox63 fixed)
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: keeler, Assigned: nchevobbe)
Details
Attachments
(1 file)
STR: encounter a web page with an error that prints a stack trace to the console, try to copy/paste it into a plain text area. All the line breaks seem to disappear, making it hard to read.
Assignee | ||
Comment 1•6 years ago
|
||
Hello keeler, thanks for filing this issue. I pushed a PR to have better clipboard stack in https://github.com/devtools-html/debugger.html/pull/6687 (we use a set of functions to print objects in devtools, and they are located in the debugger repo). It will then be in mozilla-central when the debugger does a new release. I am going to repurpose this bug to add a mochitest so we don't regress this.
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Summary: stack traces copied out of the console don't seem to include line breaks and become hard to read when pasted → Add a test to ensure copy/pasted error stacktrace is readable
Assignee | ||
Updated•6 years ago
|
Priority: -- → P1
Assignee | ||
Comment 2•6 years ago
|
||
A fix was made in Reps (see https://github.com/devtools-html/debugger.html/pull/6687) in order to make error objects much more usable when copy/pasted. Since node isn't the best to test copy/pasting behavior, we add a test case in an existing mochitest for this.
Comment 3•6 years ago
|
||
Comment on attachment 8997870 [details] Bug 1477860 - Add a test case for error object copy/paste; r=jdescottes. Julian Descottes [:jdescottes][:julian] has approved the revision. https://phabricator.services.mozilla.com/D2779
Attachment #8997870 -
Flags: review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe961d7f3727 Add a test case for error object copy/paste; r=jdescottes.
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fe961d7f3727
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in
before you can comment on or make changes to this bug.
Description
•