Don't change the window disposition for new windows without a user gesture
commitc5cfa6423d112b5ff0bb2a863ebe5fe2f5ac7cc3
authorjochen <jochen@chromium.org>
Tue, 2 Sep 2014 15:30:03 +0000 (2 08:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Sep 2014 15:39:17 +0000 (2 15:39 +0000)
tree67b1ae42a61ad0b487c1fd44bdbee2855f9431f7
parent7bddaa0d8a4768d9b3d9fa5fbd9e0a56a99b5303
Don't change the window disposition for new windows without a user gesture

The popup blocker will block them anyways, and if it's disabled, we
shouldn't change the disposition chosen by the web page

BUG=158274

Review URL: https://codereview.chromium.org/527913002

Cr-Commit-Position: refs/heads/master@{#292931}
chrome/browser/extensions/window_open_apitest.cc
chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
content/renderer/render_view_impl.cc