1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibWeb: Fire the fail callback on SharedImageRequest when they fail

This fixes an issue where failed image loads would delay the document
load event forever.
This commit is contained in:
Andreas Kling 2023-08-28 09:14:36 +02:00
parent 8e0320626d
commit 2a86bd8c91
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<script src="include.js"></script>
<img src="invalid-protocol:foo">
<script>
test(() => {
println("PASS");
});
</script>