Skip to content

Using iframe based webviews on desktop #83188

@mjbvz

Description

@mjbvz

Today VS Code implements the webview api on desktops using electron's <webview> tag. We've run into some unexpected behavior with webviews and would prefer to move to a more standard web based approach, such as using iframes

For web, we already implement webviews using normal iframes. You can also enable experimental iframe based webviews in desktop VS Code by setting "webview.experimental.useIframes": true ("webview.experimental.useExternalEndpoint": true in older VS Code versions)

Known blockers:

Metadata

Metadata

Labels

debtCode quality issueselectronIssues and items related to Electroninsiders-releasedPatch has been released in VS Code InsiderssandboxRunning VSCode in a node-free environmentwebviewWebview issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions