| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index 1a2aebdc773dabb5fd39ae0531f76a41d1624ca4..a0f9318d4efd7ff433e7d5bff1c783907bc258c4 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -516,6 +516,13 @@ void ChromeContentRendererClient::RenderThreadStarted() {
|
| WebSecurityPolicy::addOriginTrustworthyWhiteList(
|
| WebSecurityOrigin::create(origin));
|
| }
|
| +
|
| + std::set<std::string> schemes;
|
| + GetSchemesBypassingSecureContextCheckWhitelist(&schemes);
|
| + for (const std::string& scheme : schemes) {
|
| + WebSecurityPolicy::addSchemeToBypassSecureContextWhitelist(
|
| + WebString::fromUTF8(scheme));
|
| + }
|
| }
|
|
|
| void ChromeContentRendererClient::RenderFrameCreated(
|
|
|