Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: LayoutTests/http/tests/local/file-url-sent-as-referer.html

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Helpers Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function getImage() 4 function getImage()
5 { 5 {
6 var frameObj = document.getElementById("myFrame"); 6 var frameObj = document.getElementById("myFrame");
7 frameObj.contentWindow.document.write("<img src=\"http://127.0.0.1:8 000/security/resources/showRefererImage.php\"/>"); 7 frameObj.contentWindow.document.write("<img src=\"http://127.0.0.1:8 000/security/resources/showRefererImage.php\"/>");
8 frameObj.contentWindow.document.close(); 8 frameObj.contentWindow.document.close();
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body> 12 <body onLoad="getImage();">
13 <br>This is a test to see if a file:// url is sent out as the referrer for a sub resource load<br> 13 <br>This is a test to see if a file:// url is sent out as the referrer for a sub resource load<br>
14 <iframe id="myFrame" src="about:blank" onLoad="getImage();"></iframe> 14 <iframe id="myFrame" src="about:blank"></iframe>
15 <br>The above image will tell you success or failure - green or red<br> 15 <br>The above image will tell you success or failure - green or red<br>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698