| Index: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8b205949a163b43cf132ad0b23a3d7e43b30b009
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html
|
| @@ -0,0 +1,13 @@
|
| +<script>
|
| +var xhr = new XMLHttpRequest();
|
| +xhr.onload = function()
|
| +{
|
| + window.opener.postMessage('FAIL: XHR succeeded unexpectedly', '*');
|
| +};
|
| +xhr.onerror = function()
|
| +{
|
| + window.opener.postMessage('DONE', '*');
|
| +};
|
| +xhr.open("POST", "http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*", true);
|
| +xhr.send("foo");
|
| +</script>
|
|
|