mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
cf66330978
commit
62c7951424
3 changed files with 21 additions and 21 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -565360,7 +565360,7 @@
|
|||
]
|
||||
],
|
||||
"position-absolute-replaced-minmax.html": [
|
||||
"5a76277092bf9e84605fbb8e1fd64e17259e3f44",
|
||||
"6e5c1f2be5340f027081f22a81dfb4796ab861c1",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[position-absolute-replaced-minmax.html]
|
||||
expected: TIMEOUT
|
||||
[minmax replaced IFRAME 10]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7,58 +6,58 @@
|
|||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 23]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 24]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 25]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 26]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 27]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 28]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 29]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 30]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 31]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 32]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 33]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 34]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 35]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 36]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 37]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 38]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 39]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 40]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG 41]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
|
@ -336,6 +336,7 @@
|
|||
|
||||
function testAfterImageLoads(img, test) {
|
||||
let asyncTest = async_test(getTestName(img));
|
||||
img.addEventListener("error", asyncTest.unreached_func("Load shouldn't fail"));
|
||||
img.addEventListener("load", _ => {
|
||||
asyncTest.step(test);
|
||||
asyncTest.done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue