xmlhttprequest-timeout-synconmain.html (1079B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8" /> 5 <title>XHR2 Timeout Property Tests</title> 6 <link rel="help" href="https://xhr.spec.whatwg.org/#the-timeout-attribute" data-tested-assertations="following::ol[1]/li[1]" /> 7 <link rel="help" href="https://xhr.spec.whatwg.org/#the-open()-method" data-tested-assertations="following::ol[1]/li[10]" /> 8 <meta name=timeout content=long> 9 <meta name=variant content="?timeout after open"> 10 <meta name=variant content="?timeout before open"> 11 <script src="/resources/testharness.js"></script> 12 <script src="/resources/testharnessreport.js"></script> 13 <script src="resources/xmlhttprequest-timeout.js"></script> 14 <script src="resources/xmlhttprequest-timeout-runner.js"></script> 15 </head> 16 <body> 17 <h1>Description</h1> 18 <p>This test validates that the XHR2 timeout property behaves as expected in async cases in document (i.e. non-worker) context.</p> 19 <div id="log"></div> 20 <script src="resources/xmlhttprequest-timeout-synconmain.js" type="text/javascript"></script> 21 </body> 22 </html>