Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab mouseover misnames web pages that begin with chrome #22069

Closed
alanhoyle opened this issue Apr 4, 2022 · 5 comments · Fixed by brave/brave-core#12882
Closed

Tab mouseover misnames web pages that begin with chrome #22069

alanhoyle opened this issue Apr 4, 2022 · 5 comments · Fixed by brave/brave-core#12882

Comments

@alanhoyle
Copy link

Description

When a web site is at a domain that begins with "chrome" brave replaces "chrome" with "brave" in the tab's tool-tip that pops up with the mouse hovers over the tab.

Steps to Reproduce

  1. Go to a web site that begins with "chrome" e.g. chromeunboxed.com or chromeosreview.com
  2. Hover the mouse over the tab

Note that this is hard to grab a screenshot of at least on a mac. As soon as I hit any of the modifier keys required to take a screenshot, the tooltip disappears. I had to do a screen recording and take a screenshot of that.

Actual result:

The tooltip says "braveunboxed.com"

Screen Shot 2022-04-04 at 10 58 55 AM

or "braveosreview.com"
Screen Shot 2022-04-04 at 11 16 33 AM

Expected result:

The tooltip should say "chromeunboxed.com" or "chromeosreview.com"

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? untested.

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? no
  • Does the issue resolve itself when disabling Brave Rewards? untested
  • Is the issue reproducible on the latest version of Chrome? no

Miscellaneous Information:

My guess is that this is done by a naive regex like s/^chrome/brave/ when that should be something more like s/^chrome:\/\//brave:\/\//

@bsclifton
Copy link
Member

bsclifton commented Apr 4, 2022

@kjozwiak
Copy link
Member

Above requires 1.37.114 or higher for 1.37.x verification.

@LaurenWags LaurenWags added the QA/In-Progress Indicates that QA is currently in progress for that particular issue label Apr 13, 2022
@LaurenWags
Copy link
Member

LaurenWags commented Apr 13, 2022

Verified with

Brave | 1.37.114 Chromium: 100.0.4896.88 (Official Build) (x86_64)
-- | --
Revision | 4450653bfa91182e85723d8f1dee64dd6ce40ed4-refs/branch-heads/4896@{#1086}
OS | macOS Version 12.3.1 (Build 21E258)

Reproduced the issue using 1.37.113:

Example Example
1 2

Verified the test plan from brave/brave-core#12882 (comment)

Example Example Example
1 2 3

@LaurenWags LaurenWags added QA Pass-macOS and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Apr 13, 2022
@alanhoyle
Copy link
Author

I just updated to the latest Brave Beta on my Mac (Version 1.38.90 Chromium: 100.0.4896.79) and it's fixed there now.

Thank you for your time and attention!

@LaurenWags
Copy link
Member

Great, thanks for the confirmation @alanhoyle 😄

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