| Index: LayoutTests/http/tests/xmlhttprequest/resources/insecure-xhr.js | 
| diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/insecure-xhr.js b/LayoutTests/http/tests/xmlhttprequest/resources/insecure-xhr.js | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..597ba975776de260fad8c58595ce5e4141032f84 | 
| --- /dev/null | 
| +++ b/LayoutTests/http/tests/xmlhttprequest/resources/insecure-xhr.js | 
| @@ -0,0 +1,18 @@ | 
| +function finish() { | 
| +    if (self.importScripts) | 
| +        postMessage('done'); | 
| +    else if (window.opener) | 
| +        window.opener.postMessage('done', '*'); | 
| +} | 
| + | 
| +var xhr = new XMLHttpRequest(); | 
| +xhr.open("GET", "http://localhost:8000/xmlhttprequest/resources/echo-request-origin.php"); | 
| +xhr.onload = function (e) { | 
| +    console.log("PASS: " + xhr.responseText); | 
| +    finish(); | 
| +}; | 
| +xhr.onerror = function (e) { | 
| +    console.log("FAIL: " + xhr.status); | 
| +    finish(); | 
| +}; | 
| +xhr.send(); | 
|  |