gecko-dev/browser/modules
Drew Willcoxon 5638261f4a Bug 1568617 - Add a `newtab` option to browser.urlbar.topSites.get that returns the top sites exactly as shown on newtab r=mixedpuppy,Mardak
This is based on D39589, which moves the top sites API from toolkit to browser.

* Add a `newtab` option to `browser.urlbar.topSites.get` (similar to the abandoned D36200) that returns exactly the top sites shown on newtab
* Add a `AboutNewTab.getTopSites` function that returns those sites from activity stream
* Keep the changes made in bug 1547669

There are a couple of missing things related to the default top sites that this doesn't address but ideally we would have. I think we can come back to these if necessary.

* Actual favicons for the default top sites instead of using the bigger tile images since they don't seem to be the same for every site.
* Proper names names for the default sites. There's a `hostname` property, but it would be nice to have e.g. "YouTube" instead of "youtube".

Differential Revision: https://phabricator.services.mozilla.com/D39591

--HG--
extra : moz-landing-system : lando
2019-07-29 18:30:59 +00:00
..
test Merge inbound to mozilla-central. a=merge 2019-07-18 06:46:41 +03:00
AboutNewTab.jsm Bug 1568617 - Add a `newtab` option to browser.urlbar.topSites.get that returns the top sites exactly as shown on newtab r=mixedpuppy,Mardak 2019-07-29 18:30:59 +00:00
AsanReporter.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
AsyncTabSwitcher.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
BrowserUsageTelemetry.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
BrowserWindowTracker.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ContentClick.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ContentCrashHandlers.jsm Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley 2019-07-23 22:04:40 +00:00
ContentMetaHandler.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ContentObservers.js Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ContentSearch.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
Discovery.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
EveryWindow.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ExtensionsUI.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
FaviconLoader.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
FormValidationHandler.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
HomePage.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
LaterRun.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
LiveBookmarkMigrator.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
NewTabPagePreloading.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
OpenInTabsUtils.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
PageActions.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
PermissionUI.jsm Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
PermissionUITelemetry.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
PingCentre.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ProcessHangMonitor.jsm Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs 2019-07-24 01:26:07 +00:00
ReaderParent.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
RemotePrompt.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
Sanitizer.jsm Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
SelectionChangedMenulist.jsm Bug 1518932 - Convert menulist to custom element r=paolo 2019-01-28 18:24:08 +00:00
SiteDataManager.jsm Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs 2019-07-10 12:03:37 +00:00
SitePermissions.jsm Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
TabUnloader.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
TabsList.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ThemeVariableMap.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
TransientPrefs.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
Windows8WindowFrameColor.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
WindowsJumpLists.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
WindowsPreviewPerTab.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
ZoomUI.jsm Bug 1561435 - Format browser/modules/, a=automatic-formatting 2019-07-05 09:55:19 +02:00
moz.build Bug 1536454 - Part 4 - Add event telemetry for permission prompt studies. r=Ehsan 2019-04-18 13:43:29 +00:00
webrtcUI.jsm Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00