Description

This test validates that a 304 Not Modified resource appears in the Performance Timeline.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Fail304 responses should still show up in the PerformanceTimelineassert_equals: secureConnectionStart should be 0 expected 0 but got 520.0999994277954
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/resources/entry-invariants.js:42:5
    at Array.forEach (<anonymous>)
    at assert_zeroed_ (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/resources/entry-invariants.js:41:14)
    at Object.assert_tao_pass_no_redirect_http (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/resources/entry-invariants.js:80:5)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/304-response-recorded.html:48:14)
Asserts run
Pass
assert_equals("https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/resources/fake_responses.py?tag=0.26420976483853953", "https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resource-timing/resources/fake_responses.py?tag=0.26420976483853953", "Both entries should have the same name")
    at Test.<anonymous> ( /resource-timing/304-response-recorded.html:46:3)
Pass
assert_greater_than_equal(502.30000019073486, 450.0999994277954, "domainLookupStart should be greater than fetchStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(502.30000019073486, 502.30000019073486, "domainLookupEnd should be greater than domainLookupStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(502.30000019073486, 502.30000019073486, "connectStart should be greater than domainLookupEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(539.3999996185303, 502.30000019073486, "connectEnd should be greater than connectStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(539.5, 539.3999996185303, "requestStart should be greater than connectEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(623.0999994277954, 539.5, "responseStart should be greater than requestStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(625.5999994277954, 623.0999994277954, "responseEnd should be greater than responseStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_equals(0, 0, "workerStart should be 0")
    at  /resource-timing/resources/entry-invariants.js:42:5
Fail
assert_equals(520.0999994277954, 0, "secureConnectionStart should be 0")
    at  /resource-timing/resources/entry-invariants.js:42:5