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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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
Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index d0c6f2176eeb22d6831d589ca52935a4299cf71f..80997b58747788cb5031788ef4748b263cdc574c 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -1513,13 +1513,7 @@ bool FrameLoader::shouldEnforceStrictMixedContentChecking() const
if (!parentFrame)
return false;
- // FIXME: We need a way to propagate strict mixed content checking flags to
- // out-of-process frames. For now, we'll always enforce.
- if (!parentFrame->isLocalFrame())
- return true;
-
- ASSERT(toLocalFrame(parentFrame)->document());
- return toLocalFrame(parentFrame)->document()->shouldEnforceStrictMixedContentChecking();
+ return parentFrame->shouldEnforceStrictMixedContentChecking();
}
SecurityContext::InsecureRequestsPolicy FrameLoader::insecureRequestsPolicy() const

Powered by Google App Engine
This is Rietveld 408576698