brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.57k stars 2.28k forks source link

`chrome-native://` is shown in multiple places in URL search bar #31216

Open hffvld opened 1 year ago

hffvld commented 1 year ago

Description

chrome-native:// is shown in multiple places in URL search bar

Steps to reproduce

  1. Launch Brave on a tablet
  2. Open NTP > Tap ! in URL search bar > Observe Brave logo and chrome-native://newtab > Close it
  3. Tree-dot menu > History > Tap ! in URL search bar > Observe Brave logo and chrome-native://history > Close it
  4. Tree-dot menu > Downloads > Tap ! in URL search bar > Observe Brave logo and chrome-native://downloads > Close it
  5. Tree-dot menu > Bookmarks > Tap ! in URL search bar > Observe Brave logo and chrome-native://bookmarks > Close it
  6. Tree-dot menu > Recent tabs > Tap ! in URL search bar > Observe Brave logo and chrome-native://recent-tabs > Close it

Actual result

A lot of screens show chrome-native:// in the URL search bar. This is happening on tablets (NTP, History, Downloads, Bookmarks and Recent tabs) and phones (Recent tabs). Some other screens like Brave Rewards, for example, show Globe logo instead of Brave logo and brave://.

At the same time if you type, for example, chrome-native://downloads and hit Enter, it's not opening the corresponding page. So, it's very confusing.

NTP History Downloads
1 2 3
Bookmarks Recent tabs Version
1 2 3

Expected result

Brave logo and brave:// must be shown on each Brave internal page/screen in the URL search bar.

Issue reproduces how often

Easily reproduced

Version/Channel Information:

Device details

Brave version

1.53.102 1.54.73

Website problems only

Additional information

hffvld commented 1 year ago

Found that chrome-native:// is also shown on a Private tab.

Open New Private Tab > Tap glasses in a search bar > Observe

Device/OS: Pixel 7 [Pixel 7 [panther_beta-user 14 UPB4.230623.007 release-keys]]
Brave build: 1.58.52 
Chromium: 116.0.5845.51 (Official Build) canary (64-bit) 
Revision: d5ec9991d084625358dae86ed02de8dc760d1985

Screen_12-51-52