mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 06:47:34 +00:00
LibWeb: Make processBodyError
take an optional exception
Changed here:
018ac19838
This commit is contained in:
parent
ae5bb13f1f
commit
9c2d496dbe
10 changed files with 21 additions and 25 deletions
|
@ -324,7 +324,7 @@ void HTMLLinkElement::default_fetch_and_process_linked_resource()
|
|||
};
|
||||
|
||||
// NOTE: `this` and `unsafe_response` are protected by `fully_read` using JS::SafeFunction.
|
||||
auto process_body_error = [this, unsafe_response](auto&) {
|
||||
auto process_body_error = [this, unsafe_response](auto) {
|
||||
process_linked_resource(false, unsafe_response, Fetch::Infrastructure::FetchAlgorithms::ConsumeBodyFailureTag {});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue