"--allow-running-insecure-content" failed!

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

"--allow-running-insecure-content" failed!

Postby StudyCef » Mon Jul 11, 2016 11:51 pm

Code: Select all
void ClientAppBrowser::OnBeforeCommandLineProcessing(
   const CefString& process_type,
   CefRefPtr<CefCommandLine> command_line){
   command_line->AppendSwitch("--allow-running-insecure-content");
}

That is my code,I want to allow https include http,but I failed.Did I have the wrong place? My CEF3 version is
Code: Select all
#define CEF_VERSION "3.2357.1291.g47e6d4b"
StudyCef
Techie
 
Posts: 25
Joined: Tue Dec 15, 2015 7:38 pm

Re: "--allow-running-insecure-content" failed!

Postby amaitland » Tue Jul 12, 2016 12:45 am

Try removing the two dashes
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: "--allow-running-insecure-content" failed!

Postby StudyCef » Tue Jul 12, 2016 1:17 am

Thanks very much your help! I try to
Code: Select all
void ClientAppBrowser::OnBeforeCommandLineProcessing(
   const CefString& process_type,
   CefRefPtr<CefCommandLine> command_line){
   command_line->AppendSwitch("allow-running-insecure-content");
}

but I am also faile,That is "--allow-running-insecure-content" very important function for me,but look for a lot of method also faile,But I don't know where to fail?
StudyCef
Techie
 
Posts: 25
Joined: Tue Dec 15, 2015 7:38 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 102 guests