mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Implement console.count/countReset (#31635)
* Implement console.count/countReset * Address review comment Signed-off-by: syvb <me@iter.ca> --------- Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
parent
f98975bbbe
commit
d2dcb20bea
7 changed files with 46 additions and 72 deletions
|
@ -17,6 +17,10 @@ namespace console {
|
|||
undefined assert(boolean condition, optional any message);
|
||||
undefined clear();
|
||||
|
||||
// Counting
|
||||
undefined count(optional DOMString label = "default");
|
||||
undefined countReset(optional DOMString label = "default");
|
||||
|
||||
// Grouping
|
||||
undefined group(any... data);
|
||||
undefined groupCollapsed(any... data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue