Closed
Bug 955820
Opened 11 years ago
Closed 10 years ago
console.group doesn't group messages when timestamps are disabled (i.e. by default)
Categories
(DevTools :: Console, defect)
Tracking
(firefox29 verified, firefox30 verified)
VERIFIED
FIXED
Firefox 30
People
(Reporter: asqueella, Assigned: msucan)
References
Details
(Keywords: regression, Whiteboard: [qa!])
Attachments
(3 files)
41.52 KB,
image/png
|
Details | |
20.72 KB,
image/png
|
Details | |
11.52 KB,
patch
|
rcampbell
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Run this example from MDN in the Tools -> Web Developer -> Web console: console.log("This is the outer level"); console.group(); console.log("Level 2"); console.group(); console.log("Level 3"); console.warn("More of level 3"); console.groupEnd(); console.log("Back to level 2"); console.groupEnd(); console.debug("Back to the outer level"); If "Enable timestamps" in "Toolbox options -> Web Console" (in the gear button to the left of the console tab) is disabled, there's no grouping. bug 722267 implemented the option and made it the default. Thus in the default configuration, console.group() doesn't appear to work.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
regression range from mozregression, just in case: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2eaab43b65d4&tochange=7b014f0f3b03
Blocks: 722267
Keywords: regression
Comment 3•11 years ago
|
||
Does the grouping rely on information from the timestamps? Disabling timestamps simply changes to 'display none'
Assignee | ||
Comment 4•10 years ago
|
||
console.group() has no effect since we disabled timestamps by default. This is something we might want to uplift to aurora. Try push: https://tbpl.mozilla.org/?tree=Try&rev=204caefe9e3f
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Attachment #8377754 -
Flags: review?(rcampbell)
Comment 5•10 years ago
|
||
Comment on attachment 8377754 [details] [diff] [review] bug955820-1.diff Review of attachment 8377754 [details] [diff] [review]: ----------------------------------------------------------------- haven't looked at what this looks like yet, but seems reasonable. ::: browser/devtools/webconsole/test/browser_webconsole_bug_664131_console_group.js @@ +79,1 @@ > } nice. much better test using task.jsm.
Attachment #8377754 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Thanks for the review. Landed the patch: https://hg.mozilla.org/integration/fx-team/rev/393c539741f2
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8377754 [details] [diff] [review] bug955820-1.diff [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 722267 User impact if declined: console.group() will not have any effect if the web developer tries to use this API when timestamps are not enabled in the web console output (the default). Testing completed (on m-c, etc.): landed in fx-team, green try push. Risk to taking this patch (and alternatives if risky): minimal, style changes only. String or IDL/UUID changes made by this patch: none. Thank you!
Attachment #8377754 -
Flags: approval-mozilla-aurora?
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/393c539741f2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 30
Updated•10 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → fixed
Updated•10 years ago
|
Attachment #8377754 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 9•10 years ago
|
||
checkin-needed for aurora. Thank you Sylvestre!
Keywords: checkin-needed
Comment 10•10 years ago
|
||
You don't need to set checkin-needed on uplifts :) https://hg.mozilla.org/releases/mozilla-aurora/rev/801ada2044a2
Keywords: checkin-needed
Comment 11•10 years ago
|
||
I was able to confirm the fix for this issue on Mac OS X 10.9, using the description from Comment 0 with: - the latest Beta (Build ID: 20140318013849) [1], - the latest Aurora (Build ID: 20140324004000) [2]. 1. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 2. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•