DescriptionFix webrequest api for webview in webui
<webview> can be directly embedded in a whitelisted webui page, but some
webview apis are broken in a extension-less webui context. This CL fixes:
1. a crash on adding webview.request listener due to null extension pointer.
2. a crash on navigating away from a webview embedder due to dangling zoom observer.
BUG=426016
Committed: https://crrev.com/02ca72f2a3d4ad3e5c3142a1be013b49de12b155
Cr-Commit-Position: refs/heads/master@{#300897}
Patch Set 1 #
Total comments: 8
Patch Set 2 : extension id fixed in callers #
Total comments: 2
Patch Set 3 : rename EmbedderDestroyed to EmbedderWillBeDestroyed #
Total comments: 2
Patch Set 4 : nits fixed #Patch Set 5 : scoped_refptr not testable #Messages
Total messages: 22 (7 generated)
|