Don't set resource on webviews

Fixes #46217
This commit is contained in:
Matt Bierner
2018-03-20 15:53:07 -07:00
parent dd3ce6c89e
commit 954c5ae24f
4 changed files with 13 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape {
options: vscode.WebviewOptions,
extensionFolderPath: string
): void {
const webviewInput = new WebviewInput(URI.parse('webview://' + handle), title, options, '', {
const webviewInput = new WebviewInput(title, options, '', {
onMessage: message => this._proxy.$onMessage(handle, message),
onDidChangePosition: position => this._proxy.$onDidChangePosition(handle, position),
onDispose: () => {