forked from mirrors/gecko-dev
Bug 1891982 - Part 1: Copy Top Sites Feed into the Top Sites component - r=dao,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D207827
This commit is contained in:
parent
6121b33709
commit
12397ac331
7 changed files with 5434 additions and 0 deletions
|
|
@ -670,6 +670,7 @@ module.exports = {
|
|||
"browser/components/tabpreview/tabpreview.mjs",
|
||||
"browser/components/tests/browser/**",
|
||||
"browser/components/textrecognition/**",
|
||||
"browser/components/topsites/**",
|
||||
"browser/components/touchbar/**",
|
||||
"browser/components/translations/**",
|
||||
"browser/components/uitour/**",
|
||||
|
|
|
|||
|
|
@ -287,6 +287,9 @@ var allowlist = [
|
|||
|
||||
// Referenced programmatically
|
||||
{ file: "chrome://browser/content/backup/BackupManifest.1.schema.json" },
|
||||
|
||||
// Bug 1892002
|
||||
{ file: "resource://app/modules/TopSites.sys.mjs" },
|
||||
];
|
||||
|
||||
if (AppConstants.NIGHTLY_BUILD) {
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ DIRS += [
|
|||
"tabpreview",
|
||||
"tabunloader",
|
||||
"textrecognition",
|
||||
"topsites",
|
||||
"translations",
|
||||
"uitour",
|
||||
"urlbar",
|
||||
|
|
|
|||
2016
browser/components/topsites/TopSites.sys.mjs
Normal file
2016
browser/components/topsites/TopSites.sys.mjs
Normal file
File diff suppressed because it is too large
Load diff
12
browser/components/topsites/moz.build
Normal file
12
browser/components/topsites/moz.build
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
EXTRA_JS_MODULES += ["TopSites.sys.mjs"]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Firefox", "Top Sites")
|
||||
3397
browser/components/topsites/test/unit/test_top_sites.js
Normal file
3397
browser/components/topsites/test/unit/test_top_sites.js
Normal file
File diff suppressed because it is too large
Load diff
4
browser/components/topsites/test/unit/xpcshell.toml
Normal file
4
browser/components/topsites/test/unit/xpcshell.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[DEFAULT]
|
||||
firefox-appdir = "browser"
|
||||
|
||||
["test_top_sites.js"]
|
||||
Loading…
Reference in a new issue