Skip to content
Commit 5f544b6e authored by Louise Brett's avatar Louise Brett Committed by Chromium LUCI CQ
Browse files

Close the blank tab opened by clicking target=_blank links to home tab

In tabbed apps with a pinned home tab, clicking a target=_blank link
to the home tab causes a blank tab to be opened in the app. This
happens because a new tab is opened because of the target=_blank but
then the URL is opened in the home tab, leaving the new tab there.

This change closes the blank tab that was opened.

Bug: 1417525
Change-Id: Ie8fdcb3a22af0b776e8e2e17a300feefaf49421a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4547052


Reviewed-by: default avatarAlan Cutter <alancutter@chromium.org>
Commit-Queue: Louise Brett <loubrett@google.com>
Cr-Commit-Position: refs/heads/main@{#1147663}
parent b5563546
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment