LibWebView+WebContent: Implement basic DevTools console support

This commit is contained in:
Timothy Flynn 2025-03-04 08:48:20 -05:00 committed by Tim Flynn
parent c5a22a1a97
commit ffdce78b7b
Notes: github-actions[bot] 2025-03-04 20:34:44 +00:00
13 changed files with 128 additions and 4 deletions

View file

@ -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&);
}