mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
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.
This commit is contained in:
parent
6e10c2cdb7
commit
2381b19719
Notes:
sideshowbarker
2024-07-18 20:15:44 +09:00
Author: https://github.com/trflynn89
Commit: 2381b19719
Pull-request: https://github.com/SerenityOS/serenity/pull/6349
Reviewed-by: https://github.com/awesomekling
19 changed files with 79 additions and 26 deletions
|
@ -80,7 +80,7 @@ public:
|
|||
void notify_server_did_js_console_output(const String& method, const String& line);
|
||||
void notify_server_did_change_favicon(const Gfx::Bitmap& favicon);
|
||||
String notify_server_did_request_cookie(Badge<WebContentClient>, const URL& url, Cookie::Source source);
|
||||
void notify_server_did_set_cookie(Badge<WebContentClient>, const URL& url, const String& cookie, Cookie::Source source);
|
||||
void notify_server_did_set_cookie(Badge<WebContentClient>, const URL& url, const Cookie::ParsedCookie& cookie, Cookie::Source source);
|
||||
|
||||
private:
|
||||
OutOfProcessWebView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue