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

LibWeb: Port AbstractBrowsingContext to String

This commit is contained in:
Kenneth Myhra 2023-03-19 13:11:56 +01:00 committed by Andreas Kling
parent 03d6cb88ff
commit 1080281e58
4 changed files with 7 additions and 7 deletions

View file

@ -724,7 +724,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(name);
chosen->set_name(String::from_deprecated_string(name).release_value_but_fixme_should_propagate_errors());
}
// --> If the user agent has been configured such that in this instance t will reuse current