Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
FailData-URI background SVG image is observable.assert_greater_than_equal: paintTime should represent the time when the UA started painting expected a number but got a "undefined"
    at checkImage (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/largest-contentful-paint/resources/largest-contentful-paint-helpers.js:55:3)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/largest-contentful-paint/observe-svg-data-uri-background-image.html:28:9)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at PerformanceObserver.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
Asserts run
Pass
assert_implements(function "function LargestContentfulPaint() { [native code] }", "LargestContentfulPaint is not implemented")
    at Test.<anonymous> ( /largest-contentful-paint/observe-svg-data-uri-background-image.html:17:5)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /largest-contentful-paint/observe-svg-data-uri-background-image.html:21:9)
Pass
assert_equals("", "", "Entry name should be the empty string")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:30:3)
Pass
assert_equals("largest-contentful-paint", "largest-contentful-paint", "Entry type should be largest-contentful-paint")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:31:3)
Pass
assert_equals(0, 0, "Entry duration should be 0")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:33:3)
Pass
assert_equals("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"50\"><rect fill=\"lime\"", "data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"50\"><rect fill=\"lime\"", "Expected URL data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"50\"><rect fill=\"lime\" width=\"100\" height=\"50\"/></svg> should at least start with the entry's URL data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"50\"><rect fill=\"lime\"")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:35:3)
Pass
assert_equals("target", "target", "Entry ID matches expected one")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:37:3)
Pass
assert_equals(Element node <div id="target" width="100" height="50"></div>, Element node <div id="target" width="100" height="50"></div>, "Entry element is expected one")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:38:3)
Pass
assert_greater_than_equal(435.09999990463257, 433.09999990463257, "renderTime should occur before the entry is dispatched to the observer.")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:43:3)
Pass
assert_approx_equals(433.09999990463257, 433.09999990463257, 0.001, "startTime should be equal to renderTime to the precision of 1 millisecond.")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:45:3)
Pass
assert_equals(5000, 5000)
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:52:5)
Fail
assert_greater_than_equal(undefined, 429.19999980926514, "paintTime should represent the time when the UA started painting")
    at checkImage ( /largest-contentful-paint/resources/largest-contentful-paint-helpers.js:55:3)