mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 06:02:51 +00:00
LibWeb: Make processBodyError
take an optional exception
Changed here:
018ac19838
This commit is contained in:
parent
ae5bb13f1f
commit
9c2d496dbe
Notes:
sideshowbarker
2024-07-16 20:12:13 +09:00
Author: https://github.com/AtkinsSJ
Commit: 9c2d496dbe
Pull-request: https://github.com/SerenityOS/serenity/pull/18802
10 changed files with 21 additions and 25 deletions
Userland/Libraries/LibWeb/HTML/Scripting
|
@ -326,7 +326,7 @@ WebIDL::ExceptionOr<void> fetch_classic_script(JS::NonnullGCPtr<HTMLScriptElemen
|
|||
auto process_body = [response, response_handler](auto bytes) {
|
||||
response_handler->process_response(response, move(bytes));
|
||||
};
|
||||
auto process_body_error = [response, response_handler](auto&) {
|
||||
auto process_body_error = [response, response_handler](auto) {
|
||||
response_handler->process_response(response, Fetch::Infrastructure::FetchAlgorithms::ConsumeBodyFailureTag {});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue