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

search icon in URLbar should be a local resource #14653

Closed
diracdeltas opened this issue Jul 4, 2018 · 11 comments · Fixed by #14654, #14704 or #14718
Closed

search icon in URLbar should be a local resource #14653

diracdeltas opened this issue Jul 4, 2018 · 11 comments · Fixed by #14654, #14704 or #14718

Comments

@diracdeltas
Copy link
Member

diracdeltas commented Jul 4, 2018

we discovered while running wireshark on Tor tabs that the search icon in the urlbar (google, duckduckgo) is loaded remotely when the user starts a search from the urlbar. for privacy it's best to load it as a local resource.

STR:
open browser console and inspect the urlbar icon
hit any search shortcut, ex: ':g' for google
notice that the favicon for the search engine is loaded from a remote website

@srirambv
Copy link
Collaborator

srirambv commented Jul 10, 2018

This is breaking the search favicon

14653

@srirambv srirambv reopened this Jul 10, 2018
@diracdeltas
Copy link
Member Author

i tested it on mac so may be a windows specific issue breakage

@alexwykoff
Copy link
Contributor

We'll need to test this with a large profile per @kjozwiak

@LaurenWags
Copy link
Member

Verified icons using engine go key (from about:preferences#search), all seemed to load fine except for searx (:x). Reproduced by @srirambv
screen shot 2018-07-11 at 3 57 37 pm

@LaurenWags LaurenWags reopened this Jul 11, 2018
@diracdeltas
Copy link
Member Author

@LaurenWags is that on windows?

@diracdeltas
Copy link
Member Author

@LaurenWags also what's the error in the console?

@LaurenWags
Copy link
Member

@diracdeltas this is on macOS but was reproduced on Win. Doesn't appear to be anything in the console:
screen shot 2018-07-11 at 4 35 27 pm

@diracdeltas
Copy link
Member Author

@LaurenWags thanks - looked like there was a console error in your first screenshot (red x)

@LaurenWags
Copy link
Member

so there is, interesting. the console error isn't reproducing now but will try a few more times and update here if I get something @diracdeltas

@diracdeltas
Copy link
Member Author

i think i know what the issue is

diracdeltas added a commit that referenced this issue Jul 11, 2018
fix #14653

for some reason, renaming the searx favicon to something that doesn't have
'searx' in the filename makes it reappear

Test Plan:
1. make a packaged build
2. open brave
3. hit ':x' in urlbar. searx favicon should appear.
@srirambv
Copy link
Collaborator

srirambv commented Jul 12, 2018

Verified on Windows x64 using

  • 0.23.34 a471718
  • Muon 7.1.6
  • libchromiumcontent 67.0.3396.103

Verified with macOS 10.12.6 using

  • 0.23.34 a471718
  • Muon 7.1.6
  • libchromiumcontent 67.0.3396.103

Verified on Ubuntu 17.10 x64

  • 0.23.34 a471718
  • Muon 7.1.6
  • libchromiumcontent 67.0.3396.103

Verified on Windows x64 with
• 0.23.37 47b1b59
• Muon 7.1.6
• libchromiumcontent 67.0.3396.103

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