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

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/insecure-image-in-iframe.html

Issue 348853009: Refactor mixed content checks against the top frame into MixedContentChecker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WSS. Created 6 years, 5 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 <body> 2 <body>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 </script> 6 </script>
7 <p>This test loads a secure iframe that loads an insecure image. We should 7 <p>This test loads a secure iframe that loads an insecure image. We should
8 *not* get a mixed content callback becase the main frame is HTTP and the image 8 get a mixed content callback becase the frame is HTTPS and the image is not.</p>
9 doesn't contaminate the child iframe's security origin with mixed content.</p>
10 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-image.html"; 9 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-image.html";
11 ></iframe> 10 ></iframe>
12 </body> 11 </body>
13 </html> 12 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698