Load File error

Having problems with building or using the JCEF Java binding? Ask your questions here.

Load File error

Postby hibra » Tue Oct 23, 2018 11:54 am

Hi,

I'm trying to upload a local file to a js script opened in JCEF but I got this error:

"Failed to load file:///C:/Path/to/file/filename.ggb: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, client, search, https."

Any ideas!

PS. I have passed these two arguments {"-–disable-web-security","–-allow-file-access-from-files"} to the CefApp but this didn't solve the problem!

Best,
hibra
Techie
 
Posts: 13
Joined: Thu Aug 09, 2018 8:15 am

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 14 guests