Prevent 'view-source' from being abused by disabling anything other than http, https, ftp or file protocols in it.
Prevent 'view-source' from being abused by disabling anything
other than http, https, ftp or file protocols in it.

BUG=26129
TEST=view-source:javascript:alert('foo') should no longer work in chrome's address bar.

Review URL: http://codereview.chromium.org/348004

git-svn-id: http://src.chromium.org/svn/trunk/src@30418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 517ac17dad593aec0316a6a1d22b1394ce000e26
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser