LibWeb: Update base URL change processing

Corresponds to 49f5cd381e
This commit is contained in:
Sam Atkins 2025-08-07 13:37:11 +01:00
commit 0b998b8379
Notes: github-actions[bot] 2025-08-11 11:24:22 +00:00
5 changed files with 36 additions and 4 deletions

View file

@ -2286,7 +2286,7 @@ void perform_url_and_history_update_steps(DOM::Document& document, URL::URL new_
if (serialized_data.has_value())
document.restore_the_history_object_state(new_entry);
// 8. Set document's URL to newURL.
// 8. Set the URL given document to newURL.
document.set_url(new_url);
// 9. Set document's latest entry to newEntry.