DescriptionDon't focus the location bar in a phishy situation.
There is logic to focus the location bar for editing if the URL is about:blank.
However, if the page transition type is PAGE_TRANSITION_LINK, bypass that logic;
it's not really a blank page. This avoids a phishy edge case with window.open.
TBR=palmer
BUG=567445
NOTRY=true
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1678233003
Cr-Commit-Position: refs/heads/master@{#379396}
(cherry picked from commit c70cb1fe9303df33b11187d0f5f60d22938e6e63)
Patch Set 1 #
Messages
Total messages: 7 (5 generated)
|