Description

See the included test script

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassPerformanceResrouceTiming entries need to conform to the spec when a distinct resource is fetched over a persistent connection (Reuse an HTTPS connection)
Asserts run
Pass
assert_not_equals(object "[object PerformanceResourceTiming]", null, "No entry was received")
    at Test.<anonymous> ( /resource-timing/resources/entry-invariants.js:473:7)
Pass
assert_equals(428.30000019073486, 428.30000019073486, "fetchStart should be equal to connectStart")
    at  /resource-timing/resources/entry-invariants.js:22:5
Pass
assert_equals(428.30000019073486, 428.30000019073486, "fetchStart should be equal to connectEnd")
    at  /resource-timing/resources/entry-invariants.js:22:5
Pass
assert_equals(428.30000019073486, 428.30000019073486, "fetchStart should be equal to domainLookupStart")
    at  /resource-timing/resources/entry-invariants.js:22:5
Pass
assert_equals(428.30000019073486, 428.30000019073486, "fetchStart should be equal to domainLookupEnd")
    at  /resource-timing/resources/entry-invariants.js:22:5
Pass
assert_greater_than_equal(428.30000019073486, 428.30000019073486, "domainLookupStart should be greater than fetchStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(428.30000019073486, 428.30000019073486, "domainLookupEnd should be greater than domainLookupStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(428.30000019073486, 428.30000019073486, "secureConnectionStart should be greater than domainLookupEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(428.30000019073486, 428.30000019073486, "connectStart should be greater than secureConnectionStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(428.30000019073486, 428.30000019073486, "connectEnd should be greater than connectStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(441.60000014305115, 428.30000019073486, "requestStart should be greater than connectEnd")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(462.90000009536743, 441.60000014305115, "responseStart should be greater than requestStart")
    at  /resource-timing/resources/entry-invariants.js:32:5
Pass
assert_greater_than_equal(536.1000001430511, 462.90000009536743, "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
Pass
assert_equals(0, 0, "redirectStart should be 0")
    at  /resource-timing/resources/entry-invariants.js:42:5
Pass
assert_equals(0, 0, "redirectEnd should be 0")
    at  /resource-timing/resources/entry-invariants.js:42:5
Pass
assert_greater_than_equal(107.79999995231628, 0, "duration should be greater than or equal to 0")
    at  /resource-timing/resources/entry-invariants.js:50:5
Pass
assert_greater_than(428.30000019073486, 0, "fetchStart should be greater than 0")
    at  /resource-timing/resources/entry-invariants.js:59:5
Pass
assert_greater_than(309, 0, "transferSize should be greater than 0")
    at  /resource-timing/resources/entry-invariants.js:59:5
FailPerformanceResrouceTiming entries need to conform to the spec when the resource is cache-revalidated over a persistent connection (Reuse an HTTPS connection)promise_test: Unhandled rejection with value: object "Error: Got something other than a 304 response. client.status: 200, response: 'MAYBE NOT'"
Error
    at get_stack (https://not-wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://not-wpt.live/resources/testharness.js:4564:22)
    at assert (https://not-wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://not-wpt.live/resources/testharness.js:764:29)
    at Test.step (https://not-wpt.live/resources/testharness.js:2642:25)
    at https://not-wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran