Site with ServiceWorker not working in CEF

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.

Site with ServiceWorker not working in CEF

Postby rado » Thu Dec 28, 2023 4:40 am

I cannot get running one site working in CEF in the cefclient from cef_binary_120.1.10+g3ce3184+chromium-120.0.6099.129_windows32 - in console and log it shows error like
Code: Select all
[1228/103039.590:INFO:CONSOLE(1)] "Uncaught (in promise) TypeError: Failed to read the 'ready' property from 'ServiceWorkerContainer': Illegal invocation"

I've also tried chromium runtime with the same result. Site works in Chrome and Edge. Site URL is https://vavada.com/
Any idea what could be wrong or how to workaround this? I've tried to set navigator.serviceWorker to undefined in the OnContextCreated(), but it seems the browser restores it anyway. Is there better way how to disable service workers? Maybe this site would work without them. Thank you.
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 225 guests