commit | c70cb1fe9303df33b11187d0f5f60d22938e6e63 | [log] [tgz] |
---|---|---|
author | palmer <palmer@chromium.org> | Fri Mar 04 23:41:26 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 04 23:43:33 2016 |
tree | f59419b9560d17141596c53dcb0d0af6fe648cba | |
parent | 1f1662d02d9938e85db40e74ee165562beea6425 [diff] |
Don'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. BUG=567445 Review URL: https://codereview.chromium.org/1678233003 Cr-Commit-Position: refs/heads/master@{#379396}