Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/open-in-body-onload-sync-to-invalid-cross-origin-response-handling.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/open-in-body-onload-sync-to-invalid-cross-origin-response-handling.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/open-in-body-onload-sync-to-invalid-cross-origin-response-handling.html |
deleted file mode 100644 |
index 130f87f8d06b7251b37ceba8e5a0fb94bc50b46e..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/open-in-body-onload-sync-to-invalid-cross-origin-response-handling.html |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-<!doctype html> |
-<script src="/js-test-resources/js-test.js"></script> |
-<body onload="openXHR();"> |
-<!-- This embed is necessary to cause the synchronous invocation of onload --> |
-<embed type="text/html; charset=utf-8"> |
-<script> |
-window.jsTestIsAsync = true; |
-description('XMLHttpRequest doesn\'t crash even when open() is invoked ' + |
- 'synchronously to handling of a response to a cross-origin ' + |
- 'request.'); |
- |
-var xhr = new XMLHttpRequest; |
-var count = 10; // The crash doesn't always happen. Repeat to capture it. |
- |
-function openXHR() { |
- xhr.open('GET', '/'); |
- openAndSendCrossOriginSimpleXHR(); |
-} |
- |
-function openAndSendCrossOriginSimpleXHR() { |
- xhr.open("GET", "http://localhost:8000/xmlhttprequest/resources/test.html"); |
- xhr.send(); |
-} |
- |
-xhr.onerror = function() { |
- --count; |
- if (count <= 0) { |
- setTimeout(finishJSTest, 0); |
- } else { |
- openAndSendCrossOriginSimpleXHR(); |
- } |
-} |
- |
-openAndSendCrossOriginSimpleXHR(); |
-</script> |