summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-15 10:36:20 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-16 19:19:31 +0200
commit2381b197198344544964aa19368cde2d35a35e14 (patch)
tree9aa2394c0f95113946487c72265aebe11be84b31 /Userland/Libraries/LibWeb/WebContentClient.h
parent6e10c2cdb706f0f6a1a4cd600fadfa809026f622 (diff)
downloadserenity-2381b197198344544964aa19368cde2d35a35e14.zip
Browser+LibWeb+WebContent: Parse cookies in the OOP tab
To protect the main Browser process against nefarious cookies, parse the cookies out-of-process and then send the parsed result over IPC to the main process. This way, if the cookie parser blows up, only that tab will be affected.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h
index 54e4a34dbc..320e8793d0 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -28,6 +28,7 @@
#include <AK/HashMap.h>
#include <LibIPC/ServerConnection.h>
+#include <LibWeb/Cookie/ParsedCookie.h>
#include <WebContent/WebContentClientEndpoint.h>
#include <WebContent/WebContentServerEndpoint.h>