You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@champnic I found something new on #1757. I'm logging this as a separate issue as the previous question has already been answered.
I believe the DOMException: Entry already exists. error happens when the path to the Service Worker cache is too long.
I find that when I have 117 or more characters before the EBWebView folder, I'll get this error.
An example here is the path on my local computer: C:\TEMP\WebView2SWcacheissue\a7c66f9ab547a4e60dc59618116a46612b7b05d4a7c66f9ab547a4e0s\WebView2APISample.exe.WebView2
And here is what I presume to be the path to the SW cache: C:\TEMP\WebView2cacheissue\a7c66f9ab547a4e60dc59618116a46612b7b05d4a7c66f9ab547a4e0sac\WebView2APISample.exe.WebView2\EBWebView\Default\Service Worker\CacheStorage\a7c66f9ab547a4e60dc59618116a46612b7b05d4\b29766a4-bcaf-4941-bc18-502db781e5df
I've attached a sample project that can reproduce this issue when placed at the correct place.
Reproduce steps:
Launch WebView2APISample.exe
Right click and click on Inspect to launch the dev console
Go to Scenario > Virtual Host Mapping with Service Worker
Go back to the dev console and look at the console tab
@champnic I found something new on #1757. I'm logging this as a separate issue as the previous question has already been answered.
I believe the
DOMException: Entry already exists.
error happens when the path to the Service Worker cache is too long.I find that when I have 117 or more characters before the EBWebView folder, I'll get this error.
An example here is the path on my local computer:
C:\TEMP\WebView2SWcacheissue\a7c66f9ab547a4e60dc59618116a46612b7b05d4a7c66f9ab547a4e0s\WebView2APISample.exe.WebView2
And here is what I presume to be the path to the SW cache:
C:\TEMP\WebView2cacheissue\a7c66f9ab547a4e60dc59618116a46612b7b05d4a7c66f9ab547a4e0sac\WebView2APISample.exe.WebView2\EBWebView\Default\Service Worker\CacheStorage\a7c66f9ab547a4e60dc59618116a46612b7b05d4\b29766a4-bcaf-4941-bc18-502db781e5df
I've attached a sample project that can reproduce this issue when placed at the correct place.
Reproduce steps:
WebView2SWcacheissue.zip
Is this an issue with WebView2? Or will you attribute it to chromium?
AB#40445348
The text was updated successfully, but these errors were encountered: