Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-subresource-anonymous.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-subresource-anonymous.html b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-subresource-anonymous.html |
| deleted file mode 100644 |
| index a189fe1f3f18eb4a270cfc17848dec18dbe240e4..0000000000000000000000000000000000000000 |
| --- a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-subresource-anonymous.html |
| +++ /dev/null |
| @@ -1,36 +0,0 @@ |
| -<!DOCTYPE HTML> |
|
Yoav Weiss
2016/01/28 14:36:02
The "security" tests are removed, but will be rein
|
| -<html> |
| -<head> |
| -<script src="/js-test-resources/js-test.js"></script> |
| -</head> |
| -<body> |
| -<script> |
| -description("Test that a subresource with a crossorigin=anonymous loads a CORS enabled resource."); |
| -</script> |
| -<script src="resources/link-crossorigin-common.js"></script> |
| -<link crossorigin="anonymous" rel="subresource" href="http://localhost:8080/security/resources/abe-allow-star.php" onload="pass()" onerror="fail()"> |
| -<link crossorigin="anonymous" rel="subresource" href="http://localhost:8080/security/resources/abe-allow-credentials.php" onload="pass()" onerror="fail()"> |
| -<script> |
| -function runTest() |
| -{ |
| - // Test that dynamically inserted <link> elements are handled the same way. |
| - var link = document.createElement("link"); |
| - link.rel = "subresource"; |
| - link.crossOrigin = "anonymous"; |
| - link.onload = pass; |
| - link.onerror = fail; |
| - link.href = "http://localhost:8080/security/resources/abe-allow-star.php?1"; |
| - document.body.appendChild(link); |
| - |
| - link = document.createElement("link"); |
| - link.rel = "subresource"; |
| - link.crossOrigin = "anonymous"; |
| - link.onload = pass; |
| - link.onerror = fail; |
| - link.href = "http://localhost:8080/security/resources/abe-allow-credentials.php?1"; |
| - document.body.appendChild(link); |
| -} |
| -window.onload = runTest; |
| -</script> |
| -</body> |
| -</html> |