commit | ce6b6603637ee045041ccb49359fbae617d84ba5 | [log] [tgz] |
---|---|---|
author | meacer <meacer@chromium.org> | Thu Jun 02 20:56:05 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 02 20:58:37 2016 |
tree | fbead3f25a7bf0f1f4e0a1ff195383ee119c2aec | |
parent | 5f94fda863b8540f99eb571b4f94c8dd24dba406 [diff] |
Block webpages from navigating to view-source URLs. This CL blocks navigations to view-source URLs initiated by a page via window.location, window.open, A tag, etc. It still allows user initiated navigations such as directly entering the URL, clicking "view page source" or "open in new tab" in the context menu. BUG=247151,606619 Review-Url: https://codereview.chromium.org/1917073002 Cr-Commit-Position: refs/heads/master@{#397505}