Chromium Code Reviews
Description<webview>: Store <webview> embedder info in ExtensionRendererState
In order to support WebRequest event listeners that are valid for the lifetime
of the <webview>, rather than for the lifetime of a particular guest RenderView,
we need to carry information about the <webview> embedder in
ExtensionRendererState.
Lifetimes of the guest and the container <webview> are not identical for the
following reasons:
1. A <webview> does not create a guest RenderView until it performs its first
navigation.
2. A guest render process may crash but the <webview> can recover from that by
spawning off a new guest render process.
Thus, we would like WebRequest API event listeners to outlast guests and survive
for the lifetime of the <webview>.
BUG=171421
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181231
Patch Set 1 #
Total comments: 2
Patch Set 2 : Cleanup name #
Total comments: 4
Patch Set 3 : Fixed nits #Patch Set 4 : Updated comment on instance ID #
Messages
Total messages: 10 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||