implement console.timeLog (#33377)

* Implement console.timeLog

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Adjust WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2024-09-09 18:48:49 +02:00 committed by GitHub
parent 8c0a566860
commit cc3c69b953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 34 additions and 54 deletions

View file

@ -26,6 +26,7 @@ namespace console {
undefined groupEnd();
// Timing
undefined time(DOMString message);
undefined timeEnd(DOMString message);
undefined time(optional DOMString label = "default");
undefined timeLog(optional DOMString label = "default", any... data);
undefined timeEnd(optional DOMString label = "default");
};