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

Unified Diff: trunk/Source/core/loader/DocumentThreadableLoader.cpp

Issue 14793022: Revert 150055 "Consider "mixed content XHR" as mixed script inst..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 7 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
Index: trunk/Source/core/loader/DocumentThreadableLoader.cpp
===================================================================
--- trunk/Source/core/loader/DocumentThreadableLoader.cpp (revision 150372)
+++ trunk/Source/core/loader/DocumentThreadableLoader.cpp (working copy)
@@ -411,7 +411,7 @@
unsigned long identifier = std::numeric_limits<unsigned long>::max();
if (Frame* frame = m_document->frame()) {
Frame* top = frame->tree()->top();
- if (!top->loader()->mixedContentChecker()->canRunInsecureContent(top->document()->securityOrigin(), requestURL)) {
+ if (!top->loader()->mixedContentChecker()->canDisplayInsecureContent(top->document()->securityOrigin(), requestURL)) {
m_client->didFail(error);
return;
}

Powered by Google App Engine
This is Rietveld 408576698