提交 7cd28407 编写于 作者: M Matt Bierner

Fix failing webview test

上级 18ab2129
......@@ -248,7 +248,7 @@ export class WebviewElement extends Disposable {
) {
super();
this._webview = document.createElement('webview');
this._webview.setAttribute('partition', this._options.allowSvgs ? 'webview' : `webview${Date.now()}`);
this._webview.setAttribute('partition', `webview${Date.now()}`);
this._webview.setAttribute('webpreferences', 'contextIsolation=yes');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册