1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:28:11 +00:00

LibWeb: Set Cookie header on remaining resource requests

This commit is contained in:
Timothy Flynn 2021-04-14 10:41:14 -04:00 committed by Andreas Kling
parent 0cacc52990
commit 0f47a23e8e
4 changed files with 5 additions and 9 deletions

View file

@ -204,9 +204,7 @@ bool FrameLoader::load(const URL& url, Type type)
return false;
}
LoadRequest request;
request.set_url(url);
auto request = LoadRequest::create_for_url_on_page(url, frame().page());
return load(request, type);
}