microsoft / microsoft/vscode

vscode.dev is not working with WebView2 ()

Open
#334,806 3 comments 0 reactions 1 assignee Assigned to @dmitrivMS View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: vscode.dev with WebView2
- (Hit '.' on github.com. it was working before host github.dev is changed to vscode.dev)
- OS Version: Windows

Steps to Reproduce:

1. Edit file
2. Commit file

Errors in developer console

```
Connecting to 'data:application/octet-stream;base64,AGFzb...AA0=' violates the following Content Security Policy directive: "connect-src 'self' https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*". The action has been blocked.
--- extensionHostWorker.ts:63
```

```
Fetch API cannot load data:application/octet-stream;base64,AGFz...AA0=. Refused to connect because it violates the document's Content Security Policy.
--- extensionHostWorker.ts:63
```

```
Activating extension 'github.vscode-github-actions' failed: process is not defined.
--- mainThreadExtensionService.ts:108
```

On press commit and push button, localized error message appears.

```
コミットできません。
--- notificationsAlerts.ts:42
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.