Closed Bug 720180 Opened 13 years ago Closed 12 years ago

console.log("foo"); console.error("foo"); should not be considered as a repeat.

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: paul, Assigned: msucan)

References

Details

Attachments

(2 files, 1 obsolete file)

The red repeat counter is displayed and the 2 messages are folded as one. But they are not of the same nature.
I can't reproduce.
Hardware: x86 → All
(In reply to Sonny Piers [:sonny] from comment #1) > I can't reproduce. Just type "console.log("foo"); console.error("foo")" in the command line (add curly brackets if using GCLI). I think the check in ConsoleUtils_filterRepeatedConsole should take the icon into account as well.
Bug triage. Filter on PEGASUS.
Priority: -- → P3
Attached patch proposed patchSplinter Review
This patch makes repeated messages occur less often. We were merging messages too often - see the test for a few odd cases.
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Attachment #708684 - Flags: review?(past)
This blocks a test from running correctly in bug 808370.
Blocks: 808370
Blocks: 800510
Comment on attachment 708684 [details] [diff] [review] proposed patch Review of attachment 708684 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me.
Attachment #708684 - Flags: review?(past) → review+
Whiteboard: [fixed-in-fx-team]
Attached patch quick fix (obsolete) — Splinter Review
It seems there's a test that puts unexpected messages in the web console output and it now fails sometimes. This patch should fix it.
Attachment #710224 - Flags: review?(past)
Attachment #710224 - Flags: review?(past) → review+
Attached patch quick fix 2Splinter Review
Thank you Panos! Added a couple of checks for repeated node. Landed: https://hg.mozilla.org/integration/fx-team/rev/a02f96b9ef6f
Attachment #710224 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: