magreenblatt wrote:https://code.google.com/p/chromium/issues/detail?id=81637
Looks like there is a "allow-running-insecure-content" command-line flag.
Is there a way to set this in program code? With the 3.2272.1998 build of CEFClient should I be doing something like appending it to a CefString or std::string?
- Code: Select all
MainContextImpl::MainContextImpl
...
#if defined(OS_WIN)
command_line_->InitFromString(::GetCommandLineW());
I tried adding this but it had no effect:
- Code: Select all
command_line_->AppendSwitch("allow-running-insecure-content");
We don't control the sites that our browser connects to, and we can't force them to fix mixed-content errors.
For an URL that shows the problem, open
http://www.mailvu.com and in CEFClient the debug log will include:
- Code: Select all
[0429/131722:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://www.mailvu.com/' was loaded over HTTPS, but requested an insecure script 'http://connect.facebook.net/en_US/all.js'. This request has been blocked; the content must be served over HTTPS.", source: https://www.mailvu.com/ (0)
[0429/131722:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://www.mailvu.com/' was loaded over HTTPS, but requested an insecure script 'http://connect.facebook.net/en_US/all.js'. This request has been blocked; the content must be served over HTTPS.", source: https://www.mailvu.com/ (0)