LibWeb: Port NavigatorID from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-20 13:44:27 +13:00 committed by Andreas Kling
commit 6aff55d655
Notes: sideshowbarker 2024-07-17 07:20:49 +09:00
5 changed files with 24 additions and 24 deletions

View file

@ -451,7 +451,7 @@ void ConnectionFromClient::debug_request(DeprecatedString const& request, Deprec
}
if (request == "spoof-user-agent") {
Web::ResourceLoader::the().set_user_agent(argument);
Web::ResourceLoader::the().set_user_agent(MUST(String::from_deprecated_string(argument)));
return;
}