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

Unified Diff: Source/core/dom/DocumentInit.cpp

Issue 811773002: Mixed Content: Implement strict mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 6 years 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 | « Source/core/dom/DocumentInit.h ('k') | Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentInit.cpp
diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp
index 31b8feb749b00dbf32219092a59d316a4d7ace3f..1aa80ce299c02316582a410b315dbbbe9d8b6a63 100644
--- a/Source/core/dom/DocumentInit.cpp
+++ b/Source/core/dom/DocumentInit.cpp
@@ -117,6 +117,12 @@ SandboxFlags DocumentInit::sandboxFlags() const
return frameForSecurityContext()->loader().effectiveSandboxFlags();
}
+bool DocumentInit::shouldEnforceStrictMixedContentChecking() const
+{
+ ASSERT(frameForSecurityContext());
+ return frameForSecurityContext()->loader().shouldEnforceStrictMixedContentChecking();
+}
+
Settings* DocumentInit::settings() const
{
ASSERT(frameForSecurityContext());
« no previous file with comments | « Source/core/dom/DocumentInit.h ('k') | Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698