Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 8e3a75aaac353ec29d77bf72ed342f51b431477b..aeece3e2c8d6e954f5f2e9214a6aadbaabeef443 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4706,6 +4706,7 @@ void Document::initSecurityContext(const DocumentInit& initializer) |
enforceSandboxFlags(initializer.sandboxFlags()); |
if (initializer.shouldEnforceStrictMixedContentChecking()) |
enforceStrictMixedContentChecking(); |
+ setInsecureContentPolicy(initializer.insecureContentPolicy()); |
setSecurityOrigin(isSandboxed(SandboxOrigin) ? SecurityOrigin::createUnique() : SecurityOrigin::create(m_url)); |
if (importsController()) { |