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

Add fallback when a topSite doesn't have favicon #5414

Merged
merged 1 commit into from
Nov 5, 2016
Merged

Add fallback when a topSite doesn't have favicon #5414

merged 1 commit into from
Nov 5, 2016

Conversation

cezaraugusto
Copy link
Contributor

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Ran git rebase -i to squash commits (if needed).

Test Plan:

Auditors: @bsclifton

Fix #5332

Test Plan:

  • Inside getLetterFromUrl function, change site.get('title') to something else. i.e. site.get('titlenator')
  • On topSites grid, sites' tile should fallback to location's first letter
  • Change url.get('location') to something else. i.e. url.get('locationizer')
  • On topSites grid, sites' tile should fallback to ? string

Auditors: @bsclifton

Fix #5332

Test Plan:
* Inside getLetterFromUrl function (line 270), change site.get('title') to something else. I.e. site.get('titlenator')
* On topSites grid, sites' tile should fallback to location's first letter
* Change url.get('location') to something else. I.e. url.get('locationizer')
* On topSites grid, sites' tile should fallback to '?' string
@bsclifton
Copy link
Member

Looks good! 😄

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

Successfully merging this pull request may close these issues.

4 participants