mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +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
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