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

Unified Diff: chrome/test/data/ssl/bad_iframe.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/data/ssl/page_with_unsafe_contents.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/ssl/bad_iframe.html
diff --git a/chrome/test/data/ssl/bad_iframe.html b/chrome/test/data/ssl/bad_iframe.html
index b20481c7c8eccf9c70f5d16b670ff0eec0076673..a7791661950b01c3a9f9b5da74a610d30d3c36a6 100644
--- a/chrome/test/data/ssl/bad_iframe.html
+++ b/chrome/test/data/ssl/bad_iframe.html
@@ -4,6 +4,11 @@
<div id="evilDiv">
This frame is loaded over insecure HTTPS.
</div>
-
+<script>
+if(window.location.search.indexOf("open_popup") != -1) {
+ // Popup name must be empty so that this always opens a new popup window.
+ window.open("about:blank", "", "toolbar=0");
+}
+</script>
</body>
</html>
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/data/ssl/page_with_unsafe_contents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698