memo: First draft: Here be dragons (#13861)
This commit is contained in:
parent
91af624cb1
commit
29f70d7e35
1 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,15 @@
|
||||||
# `<webview>` Tag
|
# `<webview>` Tag
|
||||||
|
|
||||||
|
## Warning
|
||||||
|
|
||||||
|
Electron's `webview` tag is based on [Chromium's `webview`][chrome-webview], which
|
||||||
|
is undergoing dramatic architectural changes. This impacts the stability of `webviews`,
|
||||||
|
including rendering, navigation, and event routing. We currently recommend to not
|
||||||
|
use the `webview` tag and to consider alternatives, like `iframe`, Electron's `BrowserView`,
|
||||||
|
or an architecture that avoids embedded content altogether.
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
> Display external web content in an isolated frame and process.
|
> Display external web content in an isolated frame and process.
|
||||||
|
|
||||||
Process: [Renderer](../glossary.md#renderer-process)
|
Process: [Renderer](../glossary.md#renderer-process)
|
||||||
|
@ -914,3 +924,4 @@ Emitted when DevTools is closed.
|
||||||
Emitted when DevTools is focused / opened.
|
Emitted when DevTools is focused / opened.
|
||||||
|
|
||||||
[runtime-enabled-features]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5?l=70
|
[runtime-enabled-features]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5?l=70
|
||||||
|
[chrome-webview]: https://developer.chrome.com/apps/tags/webview
|
||||||
|
|
Loading…
Reference in a new issue