Doing some reading, I found some discussion around the subject.
https://bitbucket.org/chromiumembedded/ ... s/activity
and
https://bitbucket.org/chromiumembedded/cef/issues/1150
I am trying to use SetPreference on the global context, as in this code:
- Code: Select all
CefRefPtr<CefRequestContext> context = CefRequestContext::GetGlobalContext();
CefString error;
CefRefPtr<CefValue> val = CefValue::Create();
val->SetString(L"*.mycompany.com");
context->SetPreference(L"auth.server_whitelist", val, error);
But on execution I get the following error: "Trying to modify an unregistered preference"
Is there a place I need to register the preference before telling it I want to use it? Or am I missing something larger?
Thank you.
-Jason-