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

Unified Diff: LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed.html

Issue 356843006: Add "lax mixed content checking" runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 6 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-sync-post-xhr-blocked.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-sync-post-xhr-allowed.html
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed.html b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed.html
index 033271193721debbc0a6323a8c89cc48779c0741..1fbfa96459cb6420a060fe8af8f20a18921bbbf0 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed.html
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed.html
@@ -8,6 +8,9 @@ if (window.testRunner) {
testRunner.setCloseRemainingWindowsWhenComplete(true);
testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
}
+if (window.internals)
+ internals.settings.setLaxMixedContentCheckingEnabled(false);
+
window.addEventListener("message", function (e) {
if (window.testRunner)
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698