Page 1 of 1

blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI

PostPosted: Mon Jun 11, 2018 3:26 am
by salvadordf
A CEF4Delphi user is trying to use "fetch()" with custom schemes but he is getting "Fetch API cannot load ..." errors.

It seems that it's necessary to use blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI to register the custom scheme but I can't find it in CEF3 source.

Is there any workaround?

Re: blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetc

PostPosted: Mon Jun 11, 2018 10:46 am
by magreenblatt
You can register your handler with the http/https scheme instead of using a custom scheme.

Re: blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetc

PostPosted: Mon Jun 11, 2018 11:59 am
by salvadordf
Thanks Marshall! :D

I'll tell him to try http or https.