docs(web-embeds): replace BrowserView ref with WebContentsView (#42416)

This commit is contained in:
Mark Lee 2024-06-12 12:55:06 -07:00 committed by GitHub
parent f6a9c55907
commit 1d2f2eb113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,8 +23,8 @@ and only allow the capabilities you want to support.
[we do not recommend you to use WebViews](../api/webview-tag.md#warning), [we do not recommend you to use WebViews](../api/webview-tag.md#warning),
as this tag undergoes dramatic architectural changes that may affect stability as this tag undergoes dramatic architectural changes that may affect stability
of your application. Consider switching to alternatives, like `iframe` and of your application. Consider switching to alternatives, like `iframe` and
Electron's `BrowserView`, or an architecture that avoids embedded content Electron's [`WebContentsView`](../api/web-contents-view.md), or an architecture
by design. that avoids embedded content by design.
[WebViews](../api/webview-tag.md) are based on Chromium's WebViews and are not [WebViews](../api/webview-tag.md) are based on Chromium's WebViews and are not
explicitly supported by Electron. We do not guarantee that the WebView API will explicitly supported by Electron. We do not guarantee that the WebView API will