[ MimeHandlerView ] Do not load in sandboxed frame
This CL ensure that a frame-based MimeHandlerView does not load inside a sandboxed frame.; to this end, the following changes are made to the loading mechanism for MimeHandlerView: 1- Blink embedder is not asked for a MimeHandlerView if the document is sandboxed. 2- For frame navigation to MimeHandlerView MIME type where the HTML page is injected by the browser, MimeHandlerViewEmbedder will clear itself at commit time, if the embedder frame turns out to be sandboxed. 3- MimeHandlerViewContainerManager will load an empty page. Bug: 963641 Change-Id: Ib68be60042556a39e38d92f954201d0297631890 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614282 Commit-Queue: Ehsan Karamad <ekaramad@chromium.org> Reviewed-by:James MacLean <wjmaclean@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Cr-Commit-Position: refs/heads/master@{#664628}
Showing
Please register or sign in to comment