Closed
Bug 916997
Opened 12 years ago
Closed 12 years ago
All lines are combined to one line. when copying multiple log (Select All > Copy)
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox26 fixed, firefox27 fixed)
RESOLVED
FIXED
Firefox 27
People
(Reporter: alice0775, Assigned: msucan)
Details
(Whiteboard: [good first verify])
Attachments
(1 file)
|
8.34 KB,
patch
|
past
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/9366ee039645
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130915030208
Steps To Reproduce:
1. Open Console
2. Right click on a log and Choose "Select All"
3. Right click on a log again and Choose "Copy"
4. Paste into <textarea> or any other editor application
Actual Results:
All lines are combined to one line:
05:56:00.039 GET http://www.mozilla.org/en-US/firefox/releases/1.0.6.html#FAQ [HTTP/1.1 200 OK 472ms]05:56:00.636 GET http://www.mozilla.org/includes/min/min.css [HTTP/1.1 200 OK 161ms]05:56:00.637 GET http://www.mozilla.org/tabzilla/media/css/tabzilla.css [HTTP/1.1 301 MOVED PERMANENTLY 303ms]05:56:00.638 GET http://www.mozilla.org/includes/min/min.js [HTTP/1.1 200 OK 485ms]05:56:00.638 GET http://www.mozilla.org/style/covehead/release-notes.css
Expected Results:
It should be divided with newline.
05:56:00.039 GET http://www.mozilla.org/en-US/firefox/releases/1.0.6.html#FAQ [HTTP/1.1 200 OK 472ms]
05:56:00.636 GET http://www.mozilla.org/includes/min/min.css [HTTP/1.1 200 OK 161ms]
05:56:00.637 GET http://www.mozilla.org/tabzilla/media/css/tabzilla.css [HTTP/1.1 301 MOVED PERMANENTLY 303ms]
05:56:00.638 GET http://www.mozilla.org/includes/min/min.js [HTTP/1.1 200 OK 485ms]
05:56:00.638 GET http://www.mozilla.org/style/covehead/release-notes.css
| Assignee | ||
Comment 1•12 years ago
|
||
Thank you for the bug report!
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
OS: Windows 7 → All
Hardware: x86_64 → All
| Assignee | ||
Comment 2•12 years ago
|
||
Panos, I remember you mentioned having this problem. This patch should fix the bug. I can reproduce the problem on Linux as well, and this patch fixes it for me.
Try push: https://tbpl.mozilla.org/?tree=Try&rev=0974a34a940d
When I did the output rewrite I specifically checked if I get all the new lines as needed. It seems subsequent work I did to fix the tests and the CSS perf issues, have caused this regression in my patches.
I'm aiming to ask for aurora approval on this patch, once landed.
Attachment #807338 -
Flags: review?(past)
Comment 3•12 years ago
|
||
Comment on attachment 807338 [details] [diff] [review]
bug-916997-1-fx-team.diff
Review of attachment 807338 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you!
Attachment #807338 -
Flags: review?(past) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
we'll want this in aurora as well, once this gets over to m-c.
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
| Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 807338 [details] [diff] [review]
bug-916997-1-fx-team.diff
[Approval Request Comment]
Bug caused by (feature/regressing bug #): free text selection in the web console output - bug 760876.
User impact if declined: any text selected that has multiple lines will be copied to the clipboard in a single long line.
Testing completed (on m-c, etc.): landed in fx-team, try push and landed in m-c. test included.
Risk to taking this patch (and alternatives if risky): minimal - the patch only adds new lines where needed (between messages).
String or IDL/UUID changes made by this patch: none.
Thank you!
Attachment #807338 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #807338 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•12 years ago
|
||
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
Comment 10•12 years ago
|
||
good first verify - steps to reproduce are in the description. Please verify against Fx26 and Fx27.
Keywords: verifyme
Whiteboard: [good first verify]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•