In 72 I could load the contents of a file URL like this:
- Code: Select all
CefRefPtr<CefRequest> request = CefRequest::Create();
request->SetURL( "file:///c:/some/path/file.foo" );
request->SetMethod( "GET" );
CefRefPtr<CefURLRequest> myRequest = CefURLRequest::Create( request, myRequestClient, nullptr );
In 76 I get ERR_UNKNOWN_URL_SCHEME from that request. Is there something special I need to do to keep FILE URLs working in this new version of CEF?
Joe