Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / navigation-should-abort.html
blob3eded8a494843b9e08e90fbaa2c008cc19db5d4c
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 var req = new XMLHttpRequest();
11 req.open("GET", "resources/endlessxml.php");
12 req.onerror = function () {
13 console.log("FAIL: Expected 'abort', got 'error'.");
15 req.onabort = function () {
16 console.log("PASS: Expected 'abort', got 'abort'.");
18 req.send(null);
20 location = "resources/navigation-target.html";
21 </script>
22 </head>
23 <body>
24 <p>This test requires TestRunner. To execute it manually, open the console, and navigate to <a href="resources/navigation-target.html">resources/navigation-target.html</a>. You should see a "PASS" message in the console.</p>
25 </body>
26 </html>