Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-synconmain.html

Issue 14246006: Implementing timeout support for XHR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@timeoutResourceHandle
Patch Set: Timeout support in DocumentThreadableLoader (speculative bot failure fix) Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8" /> 4 <meta charset="utf-8" />
5 <title>XHR2 Timeout Property Tests</title> 5 <title>XHR2 Timeout Property Tests</title>
6 <link rel="help" href="http://www.w3.org/TR/XMLHttpRequest/#timeout-error" / > 6 <link rel="help" href="http://www.w3.org/TR/XMLHttpRequest/#timeout-error" / >
7 <link rel="stylesheet" href="testharness.css" /> 7 <link rel="stylesheet" href="/w3c/resources/testharness.css" />
8 <script src="/w3c/resources/testharness.js"></script> 8 <script src="/w3c/resources/testharness.js"></script>
9 <script src="/w3c/resources/testharnessreport.js"></script> 9 <script src="/w3c/resources/testharnessreport.js"></script>
10 <script src="xmlhttprequest-timeout.js"></script> 10 <script src="xmlhttprequest-timeout.js"></script>
11 <script src="xmlhttprequest-timeout-runner.js"></script> 11 <script src="xmlhttprequest-timeout-runner.js"></script>
12 <script> 12 <script>
13 function testXhr() { 13 function testXhr() {
14 window.addEventListener("message", testResultCallbackHandler); 14 window.addEventListener("message", testResultCallbackHandler);
15 var runTests = { "type": "start", "group": groupFromLocation() }; 15 var runTests = { "type": "start", "group": groupFromLocation() };
16 window.postMessage(runTests, "*"); 16 window.postMessage(runTests, "*");
17 }; 17 };
18 </script> 18 </script>
19 </head> 19 </head>
20 <body onload="testXhr()"> 20 <body onload="testXhr()">
21 <h1>Description</h1> 21 <h1>Description</h1>
22 <p>This test validates that the XHR2 timeout property behaves as expected in async cases in document (i.e. non-worker) context.</p> 22 <p>This test validates that the XHR2 timeout property behaves as expected in async cases in document (i.e. non-worker) context.</p>
23 <div id="log"></div> 23 <div id="log"></div>
24 </body> 24 </body>
25 </html> 25 </html>
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698