Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / local / file-url-sent-as-referer.html
1 <html>
2 <head>
3     <script>
4         function getImage()
5         {
6             var frameObj = document.getElementById("myFrame");
7             frameObj.contentWindow.document.write("<img src=\"http://127.0.0.1:8000/security/resources/showRefererImage.php\"/>");
8             frameObj.contentWindow.document.close();
9         }
10     </script>
11 </head>
12 <body>
13 <br>This is a test to see if a file:// url is sent out as the referrer for a subresource load<br>
14 <iframe id="myFrame" src="about:blank" onLoad="getImage();"></iframe>
15 <br>The above image will tell you success or failure - green or red<br>
16 </body>
17 </html>