mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +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
|
@ -480,7 +480,7 @@ after_step_6:
|
|||
auto process_body = [image_request, url_string, this](ByteBuffer data) {
|
||||
handle_successful_fetch(url_string, image_request, move(data));
|
||||
};
|
||||
auto process_body_error = [this](auto&) {
|
||||
auto process_body_error = [this](auto) {
|
||||
handle_failed_fetch();
|
||||
};
|
||||
// FIXME: See HTMLLinkElement::default_fetch_and_process_linked_resource for thorough notes on the workaround
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue