Closed
Bug 1270636
Opened 9 years ago
Closed 8 years ago
console.time() / timeEnd() should provide a default label if no arguments are passed in
Categories
(DevTools :: Console, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1357473
People
(Reporter: bgrins, Unassigned)
Details
(Whiteboard: [console-spec])
From: https://github.com/whatwg/console/issues/54#issuecomment-216547264
Let's make time and timeEnd use `optional DOMString label = "default"` so that calling console.time(); console.timeEnd(); will be equivalent to calling console.time('default'); console.timeEnd('default');
Comment 1•8 years ago
|
||
Also console.time(undefined) console.timeEnd(undefined) should use the default param. Basically all of the following should do the same thing:
- console.time()
- console.time(undefined)
- console.time("default")
Reporter | ||
Comment 2•8 years ago
|
||
This will be handled in Bug 1357473
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•