Chromium Code Reviews
DescriptionDo not rewrite about urls to chrome:// for cetain renderer-initated loads
This fixes the bug where about:newtab gets rewritten to chrome://newtab
and it corrupts omnibox UI. Chrome layer expects that chrome://newtab
will be NTP, but about:newtab can be loaded as a regular web page as
proven in crbug.com/687863 POS.
This CL also enables testWindowOpenWithAboutNewTabScript, adds tests
for URLRewriting and allows |currentURLWithTrustLevel:| to return all kinds
of about:// urls (old workaround was put in place for UIWebView which used
JS overrides for window.open).
BUG=687863
Review-Url: https://codereview.chromium.org/2918013002
Cr-Commit-Position: refs/heads/master@{#476716}
Committed: https://chromium.googlesource.com/chromium/src/+/657495c5b5591a13ca826a373ada0c0038d79b61
Patch Set 1 #Patch Set 2 : Self review #
Depends on Patchset: Messages
Total messages: 14 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||