Commit 9eb13bf6 authored by nasko@chromium.org's avatar nasko@chromium.org

Change return value from canRunInsecureContentInternal for RemoteFrame

Do what the comment says, not what the code does :)

BUG=399775

Review URL: https://codereview.chromium.org/543273002

git-svn-id: svn://svn.chromium.org/blink/trunk@181537 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent aab35920
......@@ -96,7 +96,7 @@ bool MixedContentChecker::canRunInsecureContentInternal(SecurityOrigin* security
// FIXME: We need a way to access the top-level frame's MixedContentChecker when that frame
// is in a different process from the current frame. Until that is done, we always allow
// loads in remote frames.
return false;
return true;
}
Frame* top = m_frame->tree().top();
if (top != m_frame && !toLocalFrame(top)->loader().mixedContentChecker()->canRunInsecureContent(toLocalFrame(top)->document()->securityOrigin(), url))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment