blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI

Postby salvadordf » Mon Jun 11, 2018 3:26 am

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?
Maintainer of the CEF4Delphi project.
User avatar
salvadordf
Techie
 
Posts: 38
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetc

Postby magreenblatt » Mon Jun 11, 2018 10:46 am

You can register your handler with the http/https scheme instead of using a custom scheme.
magreenblatt
Site Admin
 
Posts: 8401
Joined: Fri May 29, 2009 6:57 pm

Re: blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetc

Postby salvadordf » Mon Jun 11, 2018 11:59 am

Thanks Marshall! :D

I'll tell him to try http or https.
Maintainer of the CEF4Delphi project.
User avatar
salvadordf
Techie
 
Posts: 38
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 1 guest