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

Unified Diff: LayoutTests/http/tests/security/mixedContent/insecure-css-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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/insecure-css-in-main-frame.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/mixedContent/insecure-css-in-iframe.html
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-css-in-iframe.html b/LayoutTests/http/tests/security/mixedContent/insecure-css-in-iframe.html
index 8c9a5610215fd2c4ec9b788e38d7571f7493dab6..912564a44d600481b06a62af498945e4858201b3 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-css-in-iframe.html
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-css-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 style sheet.
We should trigger a mixed content callback because an active network attacker
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/insecure-css-in-main-frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698