1 <!DOCTYPE HTML
PUBLIC "-//IETF//DTD HTML//EN">
6 <script src
="../../js-test-resources/js-test.js"></script
>
9 <p id
="description"></p
>
10 <div id
="console"></div
>
12 description("Verifies that requestStart and responseStart are available before the main document has finished loading.");
14 window
.performance
= window
.performance ||
{};
15 var navigation
= performance
.navigation ||
{};
16 var timing
= performance
.timing ||
{};
18 shouldBeNonZero("timing.requestStart");
19 shouldBeNonZero("timing.responseStart");
20 shouldBe("timing.responseEnd", "0");
24 echo str_repeat(" ", 100000);