mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWebView+WebContent: Implement basic DevTools console support
This commit is contained in:
parent
c5a22a1a97
commit
ffdce78b7b
Notes:
github-actions[bot]
2025-03-04 20:34:44 +00:00
Author: https://github.com/trflynn89
Commit: ffdce78b7b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3801
Reviewed-by: https://github.com/AtkinsSJ
13 changed files with 128 additions and 4 deletions
|
@ -6,9 +6,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Time.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <LibJS/Console.h>
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWebView/ConsoleOutput.h>
|
||||
#include <WebContent/Forward.h>
|
||||
#include <WebContent/WebContentConsoleClient.h>
|
||||
|
||||
|
@ -32,6 +35,8 @@ private:
|
|||
|
||||
virtual void send_messages(i32 start_index) override;
|
||||
virtual JS::ThrowCompletionOr<JS::Value> printer(JS::Console::LogLevel, PrinterArguments) override;
|
||||
|
||||
Vector<WebView::ConsoleOutput> m_console_output;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue