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

Side by Side Diff: chrome/test/data/ssl/page_with_unsafe_contents.html

Issue 1970893002: Fix checking of iframe contents in SSLUITest.TestUnsafeContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estark comments Created 4 years, 7 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
« no previous file with comments | « chrome/test/data/ssl/bad_iframe.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head><title>Page with unsafe contents</title> 2 <head><title>Page with unsafe contents</title>
3 <script> 3 <script>
4 var foo = null; 4 var foo = null;
5 5
6 function IsFooSet() { 6 function IsFooSet() {
7 return foo != null; 7 return foo != null;
8 } 8 }
9 9
10 function ImageWidth() { 10 function ImageWidth() {
11 return document.getElementById("bad_image").width; 11 return document.getElementById("bad_image").width;
12 } 12 }
13 </script> 13 </script>
14 <script src="https://REPLACE_WITH_HOST_AND_PORT/ssl/set_foo.js"></script> 14 <script src="https://REPLACE_WITH_HOST_AND_PORT/ssl/set_foo.js"></script>
15 </head> 15 </head>
16 16
17 <body> 17 <body>
18 This page contains an image which is served over an insecure HTTPS connection... <br> 18 This page contains an image which is served over an insecure HTTPS connection... <br>
19 <img id="bad_image" src="https://REPLACE_WITH_HOST_AND_PORT/ssl/google_files/log o.gif"/> 19 <img id="bad_image" src="https://REPLACE_WITH_HOST_AND_PORT/ssl/google_files/log o.gif"/>
20 20
21 <br><br> 21 <br><br>
22 And an IFrame served over insecure HTTPS...<br> 22 And an IFrame served over insecure HTTPS...<br>
23 <iframe id="bad_iframe" src="https://REPLACE_WITH_HOST_AND_PORT/ssl/bad_iframe.h tml"/> 23 <iframe id="bad_iframe" src="https://REPLACE_WITH_HOST_AND_PORT/ssl/bad_iframe.h tml?open_popup=1"/>
24 24
25 <br><br> 25 <br><br>
26 And even worse, some JavaScript served over insecure HTTPS...<br> 26 And even worse, some JavaScript served over insecure HTTPS...<br>
27 27
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/ssl/bad_iframe.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698