Bug 1617345 Comment 12 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I suppose AboutNewTab.getTopSites could maybe return `NewTabUtils.activityStreamLinks.getTopSites()` (it's async). It's not quite the same as the new tab page's final top sites, but if the user has turned off top sites, the difference wouldn't be as noticeable anyway.

But if it's desired to have urlbar show the same sites as if new tab showed it, more complicated would be to have TopSitesFeed to keep running even when the user has turned off the section. This should "just" be creating a new pref exposed to about:preferences and having new tab page not render the section.
I suppose `AboutNewTab.getTopSites()` could maybe return `NewTabUtils.activityStreamLinks.getTopSites()` (it's async) if it otherwise would return `[]`. It's not quite the same as the new tab page's final top sites, but if the user has turned off top sites, the difference wouldn't be as noticeable anyway.

But if it's desired to have urlbar show the same sites as if new tab showed it, more complicated would be to have TopSitesFeed to keep running even when the user has turned off the section. This should "just" be creating a new pref exposed to about:preferences and having new tab page not render the section.

Back to Bug 1617345 Comment 12