mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 07:22:22 +00:00
LibWeb: Stop shadowing location_url
This is a bug. The value set here needs to be visible to later steps.
This commit is contained in:
parent
db34ee357d
commit
99fc3c7551
Notes:
sideshowbarker
2024-07-17 08:25:15 +09:00
Author: https://github.com/AtkinsSJ
Commit: 99fc3c7551
Pull-request: https://github.com/SerenityOS/serenity/pull/22389
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ static WebIDL::ExceptionOr<Variant<Empty, NavigationParams, NonFetchSchemeNaviga
|
|||
// This is because we care about the same-originness of the embedded content against the parent context, not the navigation source.
|
||||
|
||||
// 14. Set locationURL to response's location URL given currentURL's fragment.
|
||||
auto location_url = response_holder->response()->location_url(current_url.fragment());
|
||||
location_url = response_holder->response()->location_url(current_url.fragment());
|
||||
|
||||
VERIFY(!location_url.is_error());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue