4 <meta charset=
"utf-8" />
5 <title>XHR2 Timeout Property Tests
</title>
6 <link rel=
"help" href=
"http://www.w3.org/TR/XMLHttpRequest/#timeout-error" />
7 <link rel=
"stylesheet" href=
"/w3c/resources/testharness.css" />
8 <script src=
"/w3c/resources/testharness.js"></script>
9 <script src=
"/w3c/resources/testharnessreport.js"></script>
10 <script src=
"xmlhttprequest-timeout.js"></script>
11 <script src=
"xmlhttprequest-timeout-runner.js"></script>
14 window
.addEventListener("message", testResultCallbackHandler
);
15 var runTests
= { "type": "start", "group": groupFromLocation() };
16 window
.postMessage(runTests
, "*");
20 <body onload=
"testXhr()">
22 <p>This test validates that the XHR2 timeout property behaves as expected in async cases in document (i.e. non-worker) context.
</p>