src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.ts/WebviewEditorService/findTopLevelEditorForWebview
class WebviewEditorService:	private findTopLevelEditorForWebview(webview: WebviewInput): IEditorInput {
		for (const editor of this._editorService.editors) {
			if (editor === webview) {
				return editor;
			}
			if (editor instanceof DiffEditorInput) {
				if (webview === editor.primary || webview === editor.secondary) {
					return editor;
				}
			}
		}
		return webview;
	}