mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13: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
|
@ -26,5 +26,5 @@ endpoint WebContentClient = 90
|
|||
DidJSConsoleOutput(String method, String line) =|
|
||||
DidChangeFavicon(Gfx::ShareableBitmap favicon) =|
|
||||
DidRequestCookie(URL url, u8 source) => (String cookie)
|
||||
DidSetCookie(URL url, String cookie, u8 source) =|
|
||||
DidSetCookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue