Include the number of message duplicates when copy-pasting from the console

RESOLVED FIXED in Firefox 68

Status

defect
P3
normal
RESOLVED FIXED
6 years ago
5 months ago

People

(Reporter: Gijs, Assigned: dhruvibutti9477, Mentored)

Tracking

unspecified
Firefox 68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

STR:

1. Execute: console.log("hi"); console.log("hi")
2. Select the << [timestamp] "hi" (2)>> row
3. Cmd/Ctrl+C
4. Cmd/Ctrl+V in notepad/textedit/gedit

ER:
Either two lines of output or one line with some indication that it repeated twice.

AR:
Just one line of output with no indication that it repeated more than once.
Depends on: console-output
Priority: -- → P3
Summary: Offer some indication of red (count) thingy when copy-pasting from the console → Include the number of message duplicates when copy-pasting from the console
Product: Firefox → DevTools

Steps to reproduce are a bit different now:

  1. Open the console
  2. Execute the following:
for (let i = 0; i < 2; i++) console.log("hi")
  1. Right click on the repeated message and select Copy Message

As discussed on Slack, I'm assigning the bug to Dhruvi.

Assignee: nobody → dhruvibutti9477
Mentor: nchevobbe
Status: NEW → ASSIGNED

Thank you for assigning it!

This makes it possible to copy paste the number of times the message is repeated

Attachment #9051189 - Attachment description: Bug 914108-Include the number of message duplicates when copy-pasting from the console.r=nchevobbe → Bug 914108 - Include the number of message duplicates when copy-pasting from the console. r=nchevobbe.

This makes it possible to copy paste the number of times the message is repeated

Attachment #9051189 - Attachment is obsolete: true
Attachment #9051274 - Attachment description: Bug 914108-Include the number of message duplicates when copy-pasting from the console.r=nchevobbe → Bug 914108 - Include the number of message duplicates when copy-pasting from the console.r=nchevobbe.
Attachment #9051274 - Attachment description: Bug 914108 - Include the number of message duplicates when copy-pasting from the console.r=nchevobbe. → Bug 914108 - Include the number of message duplicates when copy-pasting from the console. r=nchevobbe.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/516e8d10cced
Include the number of message duplicates when copy-pasting from the console. r=nchevobbe.
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.