Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Tabs opened via links with target attribute sometimes do not render, and open at incorrect index #14159

Closed
petemill opened this issue May 17, 2018 · 4 comments

Comments

@petemill
Copy link
Member

Description

As reported by @jonathansampson, happens when clicking on a link which has target="_blank" or target="foo" but not rel="opener". When rel="opener" is present, the tab is opened at the correct index (opener tab index + 1), and renders correctly.

Also happens when testing cross-origin destination, blank rendering is less reproducible when pointing at a larger site destination, like brave.com | google.com. Detaching / re-attaching WebContents from does not force the contents to become composited, but a refresh will.

  • Does not reproduce when cmd-clicking link

Steps to Reproduce

  1. Open https://jonathansampson.github.io/browser-tests/brave/new-tab-location/index.html
  2. Click the 'Non-REL' link

Actual result:

  • Tab content does not display
  • Tab is opened at the end of the tab strip

Expected result:

  • Tab content displays
  • Tab index is opener-Tab-index + 1

Reproduces how often:
99%

Brave Version

0.22.714
muon 6.0.9

@petemill petemill added regression 0.22.x issue first seen in 0.22.x labels May 17, 2018
@petemill petemill added this to the 0.22.x Release 4 (Beta channel) milestone May 17, 2018
@bsclifton
Copy link
Member

Fixed with #14177

@LaurenWags
Copy link
Member

LaurenWags commented May 21, 2018

@petemill @bridiver are there additional tests QA should run outside of the Steps to Reproduce?

@LaurenWags
Copy link
Member

LaurenWags commented May 21, 2018

Verified with macOS 10.12.6 using

  • 0.22.718 11dcd19
  • muon 6.0.12
  • libchromiumcontent 66.0.3359.170

Verified on Windows x64 with

  • 0.22.718 11dcd19
  • muon 6.0.12
  • libchromiumcontent 66.0.3359.170

Verified with Ubuntu 17.10 x64

  • 0.22.718 11dcd19
  • muon 6.0.12
  • libchromiumcontent 66.0.3359.170

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.