mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-20 01:52:53 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
parent
21fe86d235
commit
c25485700a
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/shannonbooth
Commit: c25485700a
Pull-request: https://github.com/SerenityOS/serenity/pull/20510
Reviewed-by: https://github.com/ADKaster ✅
16 changed files with 30 additions and 30 deletions
|
@ -266,7 +266,7 @@ WebIDL::ExceptionOr<Optional<JS::NonnullGCPtr<PendingResponse>>> main_fetch(JS::
|
|||
&& false
|
||||
|
||||
) {
|
||||
request->current_url().set_scheme("https"sv);
|
||||
request->current_url().set_scheme("https"_string);
|
||||
}
|
||||
|
||||
JS::SafeFunction<WebIDL::ExceptionOr<JS::NonnullGCPtr<PendingResponse>>()> get_response = [&realm, &vm, &fetch_params, request]() -> WebIDL::ExceptionOr<JS::NonnullGCPtr<PendingResponse>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue