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

"chrome://" still being displayed when editing URL bar #1616

Closed
kjozwiak opened this issue Oct 16, 2018 · 6 comments · Fixed by brave/brave-core#1385
Closed

"chrome://" still being displayed when editing URL bar #1616

kjozwiak opened this issue Oct 16, 2018 · 6 comments · Fixed by brave/brave-core#1385

Comments

@kjozwiak
Copy link
Member

Description

When editing the URL bar, you'll still be able to see the chrome:// protocol handler rather than the brave://

Steps to Reproduce

  1. open either dev or beta
  2. visit brave://settings and start editing the URL once the page loads

Actual result:

urlprotocal

Expected result:

Shouldn't be displaying the chrome:// protocol handler when editing the URL box.

Reproduces how often:

100% reproducible using the above STR.

Brave version (brave://version info)

Brave 0.55.14 Chromium: 70.0.3538.54 (Official Build) beta(64-bit)
Revision 4f8e578b6680574714e9ed3bb9f02922b4dde40d-refs/branch-heads/3538@{#937}
OS Mac OS X

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?

Yes, currently reproducible on both dev and beta builds:

Brave 0.56.4 Chromium: 70.0.3538.54 (Official Build) dev (64-bit)
Revision 4f8e578b6680574714e9ed3bb9f02922b4dde40d-refs/branch-heads/3538@{#937}
OS Mac OS X
Brave 0.56.4 Chromium: 70.0.3538.54 (Official Build) dev (64-bit)
Revision 4f8e578b6680574714e9ed3bb9f02922b4dde40d-refs/branch-heads/3538@{#937}
OS Mac OS X
@kjozwiak kjozwiak added this to the 1.x Backlog milestone Oct 16, 2018
@rebron rebron added the priority/P5 Not scheduled. Don't anticipate work on this any time soon. label Oct 19, 2018
@srirambv
Copy link
Contributor

@srirambv
Copy link
Contributor

srirambv commented Nov 2, 2018

+1 from @kirkins via #1973 for copy paste brave://

@fmarier
Copy link
Member

fmarier commented Dec 12, 2018

This will be fixed by brave/brave-core#1074.

fmarier added a commit to fmarier/brave-core that referenced this issue Dec 12, 2018
…owser#368)

Both GetFormattedFullURL() and GetURLForDisplay() need to be overridden in
order for the URL to be displayed properly in the URL bar and to be copy/pasted
properly when editing the URL.

This also fixes brave/brave-browser#1616.
fmarier added a commit to fmarier/brave-core that referenced this issue Jan 16, 2019
Both GetFormattedFullURL() and GetURLForDisplay() need to be overridden in
order for the URL to be displayed properly in the URL bar and to be copy/pasted
properly when editing the URL.
@fmarier fmarier self-assigned this Jan 16, 2019
bridiver added a commit to brave/brave-core that referenced this issue Jan 18, 2019
bridiver added a commit to brave/brave-core that referenced this issue Jan 22, 2019
bridiver added a commit to brave/brave-core that referenced this issue Jan 22, 2019
bridiver added a commit to brave/brave-core that referenced this issue Jan 22, 2019
@srirambv
Copy link
Contributor

+1 from @anushshetty8 via #3170

@bbondy bbondy modified the milestones: 1.x Backlog, 0.62.x - Nightly Feb 6, 2019
@rebron rebron moved this from P1 & P2 backlog to Completed in Front End Feb 12, 2019
@btlechowski
Copy link

btlechowski commented Mar 1, 2019

Verification passed on

Brave 0.62.11 Chromium: 73.0.3683.39 (Official Build) dev (64-bit)
Revision cc53b0e12fcaf42e4bab8d6c23bd4fb7aae99f6c-refs/branch-heads/3683@{#413}
OS Windows 7 Service Pack 1 Build 7601.24312

Used STR from the description.
Checked all URL from: brave://chrome-urls/

Verification passed on

Brave 0.62.26 Chromium: 73.0.3683.75 (Official Build) beta (64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Linux
  • Verified the STR from the description
  • Tried editing the chrome-urls in Normal tab/Guest window/Private window/Tor window - Chrome handler is not shown in any case.

Verification PASSED on macOS 10.14.3 x64 using the following build:

Brave 0.62.27 Chromium: 73.0.3683.75 (Official Build) beta(64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Mac OS X

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

Successfully merging a pull request may close this issue.

8 participants