| Index: third_party/WebKit/LayoutTests/http/tests/loading/stop-load-at-commit.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/stop-load-at-commit.html b/third_party/WebKit/LayoutTests/http/tests/loading/stop-load-at-commit.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf9005d65bdec894694e02566816098e9ef3273e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/stop-load-at-commit.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +function abortFunc() {
|
| + window.stop();
|
| +}
|
| +
|
| +function onload() {
|
| + var oReq = new XMLHttpRequest();
|
| + oReq.addEventListener("abort", abortFunc);
|
| + oReq.open("GET", "/resources/slow-script.pl");
|
| + oReq.send();
|
| + window.location = "/navigation/resources/pass-and-notify-done.html";
|
| +}
|
| +</script>
|
| +<body onload="onload();">
|
| +<div>Test should not end on this page</div>
|
| +</body>
|
|
|