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 307.09999990463257
    at https://www1.wpt.live/resource-timing/resources/entry-invariants.js:42:5
    at Array.forEach (<anonymous>)
    at assert_zeroed_ (https://www1.wpt.live/resource-timing/resources/entry-invariants.js:41:14)
    at Object.assert_tao_pass_no_redirect_http (https://www1.wpt.live/resource-timing/resources/entry-invariants.js:80:5)
    at Test.<anonymous> (https://www1.wpt.live/resource-timing/304-response-recorded.html:48:14)
Asserts run
Pass
assert_equals("https://www1.wpt.live/resource-timing/resources/fake_responses.py?tag=0.28880689933281656", "https://www1.wpt.live/resource-timing/resources/fake_responses.py?tag=0.28880689933281656", "Both entries should have the same name")
    at Test.<anonymous> ( /resource-timing/304-response-recorded.html:46:3)
Pass
assert_greater_than_equal(307.09999990463257, 303.7999999523163, "domainLookupStart should be greater than fetchStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(307.09999990463257, 307.09999990463257, "domainLookupEnd should be greater than domainLookupStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(307.09999990463257, 307.09999990463257, "connectStart should be greater than domainLookupEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(325.59999990463257, 307.09999990463257, "connectEnd should be greater than connectStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(326, 325.59999990463257, "requestStart should be greater than connectEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(403.5, 326, "responseStart should be greater than requestStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(404.89999997615814, 403.5, "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(307.09999990463257, 0, "secureConnectionStart should be 0")
    at  /resource-timing/resources/entry-invariants.js:42:5