mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
LibJS+WebContent+js: Bring console.assert() to spec
This commit is contained in:
parent
9b78e287b0
commit
ce694490f3
5 changed files with 44 additions and 41 deletions
|
@ -65,7 +65,7 @@ public:
|
|||
Value trace();
|
||||
ThrowCompletionOr<Value> count();
|
||||
ThrowCompletionOr<Value> count_reset();
|
||||
Value assert_();
|
||||
ThrowCompletionOr<Value> assert_();
|
||||
|
||||
void output_debug_message(LogLevel log_level, String output) const;
|
||||
|
||||
|
@ -89,7 +89,6 @@ public:
|
|||
|
||||
virtual void clear() = 0;
|
||||
virtual Value trace() = 0;
|
||||
virtual Value assert_() = 0;
|
||||
|
||||
protected:
|
||||
virtual ~ConsoleClient() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue