mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
LibWeb: Make processBodyError take an optional exception
Changed here:
018ac19838
This commit is contained in:
committed by
Andreas Kling
parent
ae5bb13f1f
commit
9c2d496dbe
Notes:
sideshowbarker
2024-07-16 20:12:13 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/9c2d496dbe Pull-request: https://github.com/SerenityOS/serenity/pull/18802
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user