| Index: third_party/WebKit/LayoutTests/http/tests/cache/cancel-multiple-post-xhrs.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/cancel-multiple-post-xhrs.html b/third_party/WebKit/LayoutTests/http/tests/cache/cancel-multiple-post-xhrs.html
|
| index f14b2d4d297b4d6df7a00a2c27f3dec52d1865c0..204c085e6486d35a99731f47417e7308d8c61271 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cache/cancel-multiple-post-xhrs.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cache/cancel-multiple-post-xhrs.html
|
| @@ -2,6 +2,7 @@
|
| <script>
|
| if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| testRunner.dumpResourceLoadCallbacks();
|
| }
|
|
|
| @@ -14,5 +15,11 @@ for (var i = 0; i < 3; i++) {
|
|
|
| for (var i = 0; i < 3; i++)
|
| xhrs[i].abort();
|
| +
|
| +if (window.testRunner) {
|
| + // We wait for XHRs to be cancelled and log messages to be output because
|
| + // XHRs are cancelled asynchronously.
|
| + setTimeout(function() { testRunner.notifyDone(); }, 0);
|
| +}
|
| </script>
|
| </body>
|
|
|