mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-25 20:42:55 +00:00
Ladybird+LibWeb+WebContent: Port the did_request_cookie
IPC to String
This commit is contained in:
parent
dcd9962d7b
commit
85b8971a80
Notes:
sideshowbarker
2024-07-17 14:33:07 +09:00
Author: https://github.com/trflynn89
Commit: 85b8971a80
Pull-request: https://github.com/SerenityOS/serenity/pull/22951
14 changed files with 16 additions and 16 deletions
|
@ -1431,7 +1431,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<PendingResponse>> http_network_or_cache_fet
|
|||
// FIXME: Getting to the page client reliably is way too complicated, and going via the document won't work in workers.
|
||||
auto document = Bindings::host_defined_environment_settings_object(realm).responsible_document();
|
||||
if (!document)
|
||||
return ByteString::empty();
|
||||
return String {};
|
||||
return document->page().client().page_did_request_cookie(http_request->current_url(), Cookie::Source::Http);
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue