blob: d29cbbbff532258e29ecd448f07dc171729b4bd9 [file] [log] [blame]
Thiago Marcos P. Santos7e13f142013-04-22 12:05:441 <!DOCTYPE html>
2<html>
3<head>
4 <meta charset="utf-8" />
5 <title>XHR2 Timeout Property Tests</title>
Ms2ger91fef142014-11-01 09:24:376 <link rel="help" href="https://xhr.spec.whatwg.org/#the-timeout-attribute" data-tested-assertations="following::ol[1]/li[2]" />
7 <link rel="help" href="https://xhr.spec.whatwg.org/#handler-xhr-ontimeout" data-tested-assertations="../.."/>
8 <link rel="help" href="https://xhr.spec.whatwg.org/#timeout-error" data-tested-assertations=".."/>
9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/>
10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" />
James Grahamb7422822015-04-09 10:28:3111 <meta name=timeout content=long>
Thiago Marcos P. Santos7e13f142013-04-22 12:05:4412 <script src="/resources/testharness.js"></script>
13 <script src="/resources/testharnessreport.js"></script>
Hallvord R. M. Steen5ed4cc62013-10-16 12:31:5114 <script src="resources/xmlhttprequest-timeout.js"></script>
15 <script src="resources/xmlhttprequest-timeout-runner.js"></script>
Thiago Marcos P. Santos7e13f142013-04-22 12:05:4416</head>
17<body>
18 <h1>Description</h1>
19 <p>This test validates that the XHR2 timeout property behaves as expected in async cases in document (i.e. non-worker) context.</p>
20 <div id="log"></div>
Hallvord R. M. Steen5ed4cc62013-10-16 12:31:5121 <script src="resources/xmlhttprequest-timeout-overridesexpires.js" type="text/javascript"></script>
Thiago Marcos P. Santos7e13f142013-04-22 12:05:4422</body>
23</html>