Closed Bug 914108 Opened 10 years ago Closed 5 years ago

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

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: Gijs, Assigned: dhruvibutti9477, Mentored)

References

Details

Attachments

(1 file, 1 obsolete file)

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 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.