Open emilhammarstedtst opened 2 years ago
The error originates from: ./packages/plugin-ext/src/main/browser/webview/pre/host.js:70
Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The document is in an invalid state.
And by "two instances" you mean two windows using the same back-end process?
And by "two instances" you mean two windows using the same back-end process?
Two electron instances with one separate back-end processes each
In my case, same issue can also be reproduce by launch the 'extensionHost' for webview debugging. So basically debugging of webveiw extension is not possible within Theia. Steps to Reproduce:
extensionHost
launch type in launch.jsonUncaught (in promise) DOMException: Failed to register a ServiceWorker: The document is in an invalid state.
Bug Description:
If two theia instances are open at the same time only the first opened theia will be able to show a webview. the second and third will get an error.
Steps to Reproduce:
Additional Information