summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Console.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-08 19:43:29 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-27 21:44:07 +0100
commitce694490f310b6da886ef086ba9c32c407528883 (patch)
tree2a07dd369d68d1a7d490655dce17efd2244e27e2 /Userland/Libraries/LibJS/Console.h
parent9b78e287b093bde65024f24415a0a36d0c4993c1 (diff)
downloadserenity-ce694490f310b6da886ef086ba9c32c407528883.zip
LibJS+WebContent+js: Bring console.assert() to spec
Diffstat (limited to 'Userland/Libraries/LibJS/Console.h')
-rw-r--r--Userland/Libraries/LibJS/Console.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Console.h b/Userland/Libraries/LibJS/Console.h
index 2930dcc9eb..e6e3591ba1 100644
--- a/Userland/Libraries/LibJS/Console.h
+++ b/Userland/Libraries/LibJS/Console.h
@@ -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;