mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
wpt: Add a delay to load to valid image to overcome false positive PASS (#43357)
This adds a delay of 2 seconds for loading a valid image. This is added to potentially overcome the race condition happening while reporting LCP, to save from false positive result. Testing: WPT tests is `TIMED OUT` as expected. Signed-off-by: Shubham Gupta <shubham.gupta@chromium.org>
This commit is contained in:
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
@@ -806161,7 +806161,7 @@
|
||||
]
|
||||
],
|
||||
"broken-image-icon.html": [
|
||||
"8ca55b41e6b125453d7e2cf409a0cd904c64a672",
|
||||
"e27e32816e83af5ae049e992a655de026b7db52a",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
||||
4
tests/wpt/meta/largest-contentful-paint/broken-image-icon.html.ini
vendored
Normal file
4
tests/wpt/meta/largest-contentful-paint/broken-image-icon.html.ini
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
[broken-image-icon.html]
|
||||
expected: ERROR
|
||||
[The broken image icon should not emit an LCP entry.]
|
||||
expected: TIMEOUT
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<body>
|
||||
<img src="../non-existent-image.jpg">
|
||||
<img src="/css/css-images/support/colors-16x8.png">
|
||||
<img src="/css/css-images/support/colors-16x8.png?pipe=trickle(d2)">
|
||||
|
||||
<script>
|
||||
promise_test(async () => {
|
||||
|
||||
Reference in New Issue
Block a user