mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 17:02:56 +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
|
@ -9,6 +9,7 @@
|
|||
#include <AK/JsonValue.h>
|
||||
#include <AK/Time.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <LibJS/Console.h>
|
||||
|
||||
namespace WebView {
|
||||
|
@ -20,3 +21,13 @@ struct ConsoleOutput {
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
namespace IPC {
|
||||
|
||||
template<>
|
||||
ErrorOr<void> encode(Encoder&, WebView::ConsoleOutput const&);
|
||||
|
||||
template<>
|
||||
ErrorOr<WebView::ConsoleOutput> decode(Decoder&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue