DevTools/Features/ConsoleObjectCompletion/Test Plan: Difference between revisions

Line 63: Line 63:


=== Use cases ===
=== Use cases ===
; List the use cases for this feature and how are these assessed.
; group/groupEnd
console.group(object[, object, ...])
 
Writes a message to the console and opens a nested block to indent all future messages sent to the console. Call console.groupEnd() to close the block.
 
console.groupCollapsed(object[, object, ...])
 
Like console.group(), but the block is initially collapsed.
 
console.groupEnd()
 
Closes the most recently opened block created by a call to console.group() or console.groupCollapsed()
; time/timeEnd
console.time(name)
 
Creates a new timer under the given name. Call console.timeEnd(name) with the same name to stop the timer and print the time elapsed..
 
console.timeEnd(name)
 
Stops a timer created by a call to console.time(name) and writes the time elapsed.


=== Focus on ===  
=== Focus on ===  
750

edits