After blocking content initiated navigations to view-source URLs ( bug 606619 ), the only way to open such URLs is to copy and paste the URL. This will be a bit more of a pain when we block other URLs such as data: and blob:.
I'm wondering if it's worth allowing "Open in new tab/window" context menu items to open a subset of URLs to which we block page initiated navigations. So the user will be able to right click and open view-source, data and blob URLs in a new tab, but not chrome: or chrome-devtools: URLs.
creis: What do you think? Would adding a new class of URLs that are displayed/blocked but still navigable add a lot of complexity to the navigation code? There also seems to be some marginal security implications (e.g. a page could now trick the user to ctrl+click).
Comment 1 by creis@chromium.org
, Jun 2 2016Components: UI>Browser>Navigation