Fix timeout in position-absolute-replaced-minmax.html (#34075)

Some images don't load because we don't support SVG.
In that case this makes the test fail rather than timing out.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-10-30 20:56:03 +01:00 committed by GitHub
parent cf66330978
commit 62c7951424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 21 deletions

View file

@ -565360,7 +565360,7 @@
] ]
], ],
"position-absolute-replaced-minmax.html": [ "position-absolute-replaced-minmax.html": [
"5a76277092bf9e84605fbb8e1fd64e17259e3f44", "6e5c1f2be5340f027081f22a81dfb4796ab861c1",
[ [
null, null,
{} {}

View file

@ -1,5 +1,4 @@
[position-absolute-replaced-minmax.html] [position-absolute-replaced-minmax.html]
expected: TIMEOUT
[minmax replaced IFRAME 10] [minmax replaced IFRAME 10]
expected: FAIL expected: FAIL
@ -7,58 +6,58 @@
expected: FAIL expected: FAIL
[minmax replaced IMG svg 23] [minmax replaced IMG svg 23]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 24] [minmax replaced IMG svg 24]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 25] [minmax replaced IMG svg 25]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 26] [minmax replaced IMG svg 26]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 27] [minmax replaced IMG svg 27]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 28] [minmax replaced IMG svg 28]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 29] [minmax replaced IMG svg 29]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 30] [minmax replaced IMG svg 30]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 31] [minmax replaced IMG svg 31]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 32] [minmax replaced IMG svg 32]
expected: NOTRUN expected: FAIL
[minmax replaced IMG svg 33] [minmax replaced IMG svg 33]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 34] [minmax replaced IMG 34]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 35] [minmax replaced IMG 35]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 36] [minmax replaced IMG 36]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 37] [minmax replaced IMG 37]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 38] [minmax replaced IMG 38]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 39] [minmax replaced IMG 39]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 40] [minmax replaced IMG 40]
expected: NOTRUN expected: FAIL
[minmax replaced IMG 41] [minmax replaced IMG 41]
expected: NOTRUN expected: FAIL

View file

@ -336,6 +336,7 @@
function testAfterImageLoads(img, test) { function testAfterImageLoads(img, test) {
let asyncTest = async_test(getTestName(img)); let asyncTest = async_test(getTestName(img));
img.addEventListener("error", asyncTest.unreached_func("Load shouldn't fail"));
img.addEventListener("load", _ => { img.addEventListener("load", _ => {
asyncTest.step(test); asyncTest.step(test);
asyncTest.done(); asyncTest.done();