Don't allow MimeHandlerViews to navigate away from their handling extension
Currently, the PDF viewer extension tries to navigate itself using |window.location.href| when navigating the tab via the chrome.tabs API is not available. This fallback behaviour is incorrect as it would navigate the guest contents instead of the tab. We remove this fallback behaviour from the PDF viewer. Bug: 1158381 Change-Id: I5295a60c0e3d05e7058be81b39c0716c9f6e8d65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618602Reviewed-by:Charlie Reis <creis@chromium.org> Reviewed-by:
Rebekah Potter <rbpotter@chromium.org> Reviewed-by:
Lucas Gadani <lfg@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#844080}
Showing
Please register or sign in to comment