Skip to content

Error loading webview #35

@HarshaVardhan-SE

Description

@HarshaVardhan-SE

Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.

VS Code extensions that use Webviews (like Augment Code) operate in a sandboxed iframe-like environment. This means they do not support service workers, because:

The webview does not run over http://, https://, or even localhost.
It uses a special URI scheme like vscode-webview://, which does not allow service worker registration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions