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

LibWeb: Stop lying about string types

This commit is contained in:
Hendiadyoin1 2023-06-11 19:46:53 +02:00 committed by Jelle Raaijmakers
parent 9300b9a364
commit eeb15fc10b
5 changed files with 7 additions and 7 deletions

View file

@ -957,7 +957,7 @@ BrowsingContext::ChosenBrowsingContext BrowsingContext::choose_a_browsing_contex
// 6. If name is not an ASCII case-insensitive match for "_blank", then set chosen's name to name.
if (!Infra::is_ascii_case_insensitive_match(name, "_blank"sv))
chosen->set_name(String::from_deprecated_string(name).release_value_but_fixme_should_propagate_errors());
chosen->set_name(String::from_utf8(name).release_value_but_fixme_should_propagate_errors());
}
// --> If the user agent has been configured such that in this instance t will reuse current