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

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

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
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();
9 } 8 }
10 </script> 9 </script>
11 </head> 10 </head>
12 <body> 11 <body>
13 <br>This is a test to see if a file:// url is sent out as the referrer for a sub resource load<br> 12 <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> 13 <iframe id="myFrame" src="about:blank" onLoad="getImage();"></iframe>
15 <br>The above image will tell you success or failure - green or red<br> 14 <br>The above image will tell you success or failure - green or red<br>
16 </body> 15 </body>
17 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698