-
-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
While debugging, I ran into the following error caused by trying to load the webview pretty-ts-errors uses to show the prettified errors in a new tab and the panel:
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
Restarting VS Code seemed to work, reloading the window did not.
It is most likely related to the WebviewPanelSerializer and WebviewViewResolveContext API's that try to persist the webview between sessions.
Expected behavior
The webview should load without any issues.
Screenshots

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working