mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb: Don't halt track loading steps after sending fetch request
Previously, we would initiate a fetch request and immediately return from the track loading steps, so the following steps would never be executed.
This commit is contained in:
Notes:
github-actions[bot]
2025-03-01 13:26:02 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/19961e2b45d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3742 Reviewed-by: https://github.com/trflynn89 ✅
@@ -235,7 +235,6 @@ void HTMLTrackElement::start_the_track_processing_model_parallel_steps(JS::Realm
|
||||
// 4. Fetch request.
|
||||
m_fetch_algorithms = Fetch::Infrastructure::FetchAlgorithms::create(vm(), move(fetch_algorithms_input));
|
||||
m_fetch_controller = MUST(Fetch::Fetching::fetch(realm, request, *m_fetch_algorithms));
|
||||
return;
|
||||
} else {
|
||||
fire_error_event();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user