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

Unified Diff: LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html

Issue 957263002: Mixed Content: Explicitly allow blockable content for specific tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
Index: LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html b/LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html
index 481823778c3ca6d5776c5dfe31d53b7163c3bbb2..1dfde57920afcdd7390b5a7f480dc01f087e0c27 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-script-in-iframe.html
@@ -1,8 +1,10 @@
<html>
<body>
<script>
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
+}
</script>
<p>This test loads a secure iframe that loads an insecure script. We should
trigger a mixed content callback even though the main frame is HTTP because the

Powered by Google App Engine
This is Rietveld 408576698