LibJS+WebContent+js: Bring console.assert() to spec

This commit is contained in:
Sam Atkins 2021-12-08 19:43:29 +00:00 committed by Andreas Kling
commit ce694490f3
Notes: sideshowbarker 2024-07-17 22:06:53 +09:00
5 changed files with 44 additions and 41 deletions

View file

@ -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;