mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibJS+WebContent+js: Bring console.clear() to spec
This is identical to before, since we don't have "group stacks" yet, but clear() now uses ThrowCompletionOr.
This commit is contained in:
parent
834ced82d4
commit
9b78e287b0
Notes:
sideshowbarker
2024-07-17 22:06:57 +09:00
Author: https://github.com/AtkinsSJ
Commit: 9b78e287b0
Pull-request: https://github.com/SerenityOS/serenity/pull/11382
Reviewed-by: https://github.com/davidot ✅
5 changed files with 9 additions and 7 deletions
|
@ -87,7 +87,7 @@ public:
|
|||
ThrowCompletionOr<Vector<Value>> formatter(Vector<Value>& args);
|
||||
virtual ThrowCompletionOr<Value> printer(Console::LogLevel log_level, Vector<Value>&) = 0;
|
||||
|
||||
virtual Value clear() = 0;
|
||||
virtual void clear() = 0;
|
||||
virtual Value trace() = 0;
|
||||
virtual Value assert_() = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue