servo/components/script
Martin Robinson 6defd7011b Fix intermittency when loading poster images
Wait until a poster image is cached to in order to unblock document load. If
not, the document may continue loading before the image is ready to use,
leading to intermittency in test output. Now load is unblocked when
getting the ImageResponse from the cache, which allows the code to
properly unblock the load when the entire load fails or succeeds.

This reveals several false passes in the `object-view-box` test suite
which were very flaky.

Fixes #29204.
Fixes #29188.
Fixes #29179.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2023-01-11 12:27:27 +01:00
..
docs
dom Fix intermittency when loading poster images 2023-01-11 12:27:27 +01:00
task_source
animation_timeline.rs
animations.rs Remove unused arguments from methods. 2021-02-05 14:29:45 +00:00
body.rs
build.rs Port some code to Python3 2021-02-18 09:35:46 -05:00
canvas_state.rs
Cargo.toml Update to newest merged spidermonkey. 2022-11-23 10:05:06 -05:00
clipboard_provider.rs
devtools.rs Update mozjs. 2021-02-18 09:35:45 -05:00
document_loader.rs
euclidext.rs
fetch.rs Make url for "client" referrer mandatory 2020-06-17 19:07:14 +02:00
image_listener.rs
init.rs Added is_platform_object_static check to is_dom_object 2020-11-26 18:40:41 -05:00
layout_image.rs Make url for "client" referrer mandatory 2020-06-17 19:07:14 +02:00
lib.rs Fix warnings. 2022-04-01 00:36:48 -04:00
mem.rs
microtask.rs ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
network_listener.rs
realms.rs
script_module.rs Format. 2022-11-23 10:04:53 -05:00
script_runtime.rs Format. 2022-11-23 10:04:53 -05:00
script_thread.rs refactor(script): navigate_or_reload_child_browsing_context should only handle cases involving navigation 2021-08-03 09:11:19 +09:00
serviceworker_manager.rs feat: shorten thread names 2021-07-19 00:57:48 +09:00
stylesheet_loader.rs Fix invalid use of ReferrerUrl 2020-06-17 19:07:15 +02:00
stylesheet_set.rs
task.rs ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
task_manager.rs ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
task_queue.rs
test.rs
textinput.rs
timers.rs Set private reference for classic script 2020-07-18 00:43:34 +09:00
unpremultiplytable.rs
webdriver_handlers.rs Update mozjs to 0.14.1 2020-08-28 20:54:18 +08:00