commit | 4ded38ed33da2927224b2bbbadf6edf1c64ac2c6 | [log] [tgz] |
---|---|---|
author | Ehsan Karamad <ekaramad@chromium.org> | Thu May 23 15:22:22 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 23 15:22:22 2019 |
tree | 9a71cd3e9bdfbfdcadb460586c850ef90de3e058 | |
parent | 8f6f8bc75db2ca8e45cc7f3956b096b170049a33 [diff] |
[ MimeHandlerView ] Block PluginStatus != kAllowed/kPlayImportantContent Currently, a MimeHandlerView is created as long as there is a plugin for it. This behavior undermines issues such as <webview> permissions API. This CL will avoid creating MimeHandlerView if the plugin is not allowed. This change will also make the test WebViewPluginTest.TestLoadPluginInternalResource pass with the flag MimeHandlerViewInCrossProcessFrame. Note that when the plugin is not allowed, no (frame-based) MimeHandlerView will be created and the code will follow the ordinary CreatePlugin code path. Bug: 963694 Change-Id: I91b88956480139ffdb0df06077d099746b713751 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622890 Reviewed-by: Ehsan Karamad <ekaramad@chromium.org> Reviewed-by: James MacLean <wjmaclean@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Reviewed-by: Ćukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Ehsan Karamad <ekaramad@chromium.org> Cr-Commit-Position: refs/heads/master@{#662641}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .