The original Android code that prompted this check (see http://trac.webkit.org/changeset/132478) was upstreamed for backwards compatibility, but is subtly not quite backwards compatibility. This patch addresses that by redirecting new windows to the top frame rather than the opening frame.

BUG=295039

Review URL: https://chromiumcodereview.appspot.com/24211004

git-svn-id: svn://svn.chromium.org/blink/trunk@158136 bbb929c8-8fbe-4397-9dbb-9b2b20218538