mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Ladybird+LibWeb+WebContent: Port the did_request_cookie
IPC to String
This commit is contained in:
parent
dcd9962d7b
commit
85b8971a80
14 changed files with 16 additions and 16 deletions
|
@ -636,7 +636,7 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
return [delegate cookieJar].get_named_cookie(url, name);
|
||||
};
|
||||
|
||||
m_web_view_bridge->on_get_cookie = [](auto const& url, auto source) -> ByteString {
|
||||
m_web_view_bridge->on_get_cookie = [](auto const& url, auto source) {
|
||||
auto* delegate = (ApplicationDelegate*)[NSApp delegate];
|
||||
return [delegate cookieJar].get_cookie(url, source);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue