OnBeforeResourceLoad doesn't get called for service worker

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OnBeforeResourceLoad doesn't get called for service worker

Postby GieltjE » Thu Apr 25, 2019 4:06 am

We are using cefsharp (currently 73.1.12, previous version was 71.0.2 which functioned OK) and are having a problem with the OnBeforeResourceLoad not being fired for service worker requests in the most recent version.

The web-app we load in chromium utilises a serviveworker for cache management, in the past (until 71.0.2) the requests intercepted/send by the service worker triggered the `OnBeforeResourceLoad` callback, as it should be since it inject headers critical for functionality. however since the last update of cefsharp `OnBeforeResourceLoad` is no longer called for the requests

The developer has marked this bug as an upstream issue and said to make a bugreport at this project, can anyone assist with this problem?
GieltjE
Newbie
 
Posts: 2
Joined: Thu Apr 25, 2019 3:48 am

Re: OnBeforeResourceLoad doesn't get called for service work

Postby magreenblatt » Thu Apr 25, 2019 11:48 am

I'm surprised that OnBeforeResourceLoad was ever called for service workers. The capability will be officially supported starting with https://bitbucket.org/chromiumembedded/cef/issues/2622. You can star that issue to receive updates.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: OnBeforeResourceLoad doesn't get called for service work

Postby GieltjE » Fri Apr 26, 2019 3:56 am

Thanks for the info, is there a need to report the above information anywhere else?
GieltjE
Newbie
 
Posts: 2
Joined: Thu Apr 25, 2019 3:48 am

Re: OnBeforeResourceLoad doesn't get called for service work

Postby magreenblatt » Fri Apr 26, 2019 8:48 am

GieltjE wrote:Thanks for the info, is there a need to report the above information anywhere else?

Nope.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 165 guests

cron