WebView: Enable allowpopups.

This is required for Electron ≥ 15 to continue invoking our new window
handler (handleExternalLink), following the nativeWindowOpen
migration.

https://github.com/electron/electron/issues/30886

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-03-11 18:23:39 -08:00
parent 2b50b21752
commit 0c784b12fa

View File

@@ -71,6 +71,7 @@ export default class WebView {
? html``
: html`preload="${props.preload}"`}
partition="persist:webviewsession"
allowpopups
>
</webview>
`;