mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 12:47:36 +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
|
@ -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