mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
memo: First draft: Here be dragons (#13861)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user