Cache webview view title across reloads

Fixes #105867
This commit is contained in:
Matt Bierner
2020-09-09 21:51:22 -07:00
parent cf38af84ff
commit ec8016f7d1
4 changed files with 30 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ export class MainThreadWebviewsViews extends Disposable implements extHostProtoc
});
try {
await this._proxy.$resolveWebviewView(handle, viewType, state, cancellation);
await this._proxy.$resolveWebviewView(handle, viewType, webviewView.title, state, cancellation);
} catch (error) {
onUnexpectedError(error);
webviewView.webview.html = this.mainThreadWebviews.getWebviewResolvedFailedContent(viewType);