eclipse-theia/theia
Ver no GitHubplugin: webviews on development host do not work on electron
Open
#10.989 aberto em 5 de abr. de 2022
electronhelp wantedplug-in system
Métricas do repositório
- Stars
- (18.676 stars)
- Métricas de merge de PR
- (Mesclagem média 12d 10h) (73 fundiu PRs em 30d)
Description
Bug Description:
On electron, and when starting the development host (plugin-system) webviews fail to properly start due to a service worker error:
Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The document is in an invalid state.
Steps to Reproduce:
- open https://github.com/microsoft/vscode-extension-samples/tree/main/webview-sample as a workspace
- build the extension (
npm i) - start the debug configuration
run extension - the development host should start
- trigger the command
cat coding: start cat coding session - the webview editor opens but there is no content with the above error
Additional Info
- Operating System: Windows 10
- Theia Version: latest