Name Description Size
.eslintrc.js ", "content-src/asrouter/templates/FirstRun/**", "content-src/components/TopSites/**", "content-src/components/MoreRecommendations/MoreRecommendations.jsx", "content-src/components/CollapsibleSection/CollapsibleSection.jsx", "content-src/components/DiscoveryStreamComponents/DSEmptyState/DSEmptyState.jsx", "content-src/components/DiscoveryStreamComponents/DSPrivacyModal/DSPrivacyModal.jsx", "content-src/components/CustomizeMenu/**", ], rules: { "jsx-a11y/anchor-has-content": 0, "jsx-a11y/heading-has-content": 0, "jsx-a11y/label-has-associated-control": 0, "jsx-a11y/no-onchange": 0, }, }, { // Use a configuration that's more appropriate for JSMs files: "* 8120
.nvmrc 8
.sass-lint.yml 771
AboutNewTabService.jsm The nsIAboutNewTabService is accessed by the AboutRedirector anytime about:home, about:newtab or about:welcome are requested. The primary job of an nsIAboutNewTabService is to tell the AboutRedirector what resources to actually load for those requests. The nsIAboutNewTabService is not involved when the user has overridden the default about:home or about:newtab pages. There are two implementations of this service - one for the parent process, and one for content processes. Each one has some secondary responsibilties that are process-specific. The need for two implementations is an unfortunate consequence of how document loading and process redirection for about: pages currently works in Gecko. The commonalities between the two implementations has been put into an abstract base class. 15643
aboutwelcome
actors
bin
common
components
components.conf 555
content-src
css
data
docs
jar.mn 3100
karma.mc.config.js /*.js", // The base directory of all source files (used for path resolution in webpack importing) moduleResolveDirectory: __dirname, // a RegEx matching all Cu.import statements of local files resourcePathRegEx: /^resource:\/\/activity-stream\//, coverageReportingPath: "logs/coverage/", }; // When tweaking here, be sure to review the docs about the execution ordering // semantics of the preprocessors array, as they are somewhat odd. const preprocessors = {}; preprocessors[PATHS.testFilesPattern] = [ "webpack", // require("karma-webpack") "sourcemap", // require("karma-sourcemap-loader") ]; module.exports = function(config) { const isTDD = config.tdd; const browsers = isTDD ? ["Firefox"] : ["FirefoxHeadless"]; // require("karma-firefox-launcher") config.set({ singleRun: !isTDD, browsers, customLaunchers: { FirefoxHeadless: { base: "Firefox", flags: ["--headless"], }, }, frameworks: [ "chai", // require("chai") require("karma-chai") "mocha", // require("mocha") require("karma-mocha") "sinon", // require("sinon") require("karma-sinon") ], reporters: [ "coverage-istanbul", // require("karma-coverage") "mocha", // require("karma-mocha-reporter") // for bin/try-runner.js to parse the output easily "json", // require("karma-json-reporter") ], jsonReporter: { // So this doesn't get interleaved with other karma output stdout: false, outputFile: path.join("logs", "karma-run-results.json"), }, coverageIstanbulReporter: { reports: ["lcov", "text-summary"], // for some reason "lcov" reallys means "lcov" and "html" "report-config": { // so the full m-c path gets printed; needed for https://coverage.moz.tools/ integration lcov: { projectRoot: "../../..", }, }, dir: PATHS.coverageReportingPath, // This will make karma fail if coverage reporting is less than the minimums here thresholds: !isTDD && { each: { statements: 100, lines: 100, functions: 100, branches: 66, overrides: { "lib/AboutPreferences.jsm": { statements: 98, lines: 98, functions: 100, branches: 66, }, "lib/ASRouter.jsm": { statements: 75, lines: 75, functions: 64, branches: 66, }, "lib/ASRouterDefaultConfig.jsm": { statements: 0, lines: 0, functions: 0, branches: 0, }, "content-src/asrouter/asrouter-utils.js": { statements: 66, lines: 66, functions: 100, branches: 63, }, "lib/TelemetryFeed.jsm": { statements: 99, lines: 99, functions: 100, branches: 96, }, "lib/ASRouterParentProcessMessageHandler.jsm": { statements: 98, lines: 98, functions: 100, branches: 88, }, "content-src/lib/init-store.js": { statements: 98, lines: 98, functions: 100, branches: 100, }, "lib/ActivityStreamStorage.jsm": { statements: 100, lines: 100, functions: 100, branches: 83, }, "lib/PlacesFeed.jsm": { statements: 98, lines: 98, functions: 100, branches: 84, }, "lib/UTEventReporting.jsm": { statements: 100, lines: 100, functions: 100, branches: 75, }, "lib/TopSitesFeed.jsm": { statements: 70, lines: 75, functions: 80, branches: 60, }, "lib/Screenshots.jsm": { statements: 94, lines: 94, functions: 100, branches: 84, }, "lib/*.jsm": { statements: 100, lines: 100, functions: 100, branches: 84, }, "content-src/components/DiscoveryStreamComponents/* 10832
lib
loaders
metrics.yaml 13793
moz.build 1988
nsIAboutNewTabService.idl Allows to override about:newtab to point to a different location than the one specified within AboutRedirector.cpp 1261
package-lock.json 562975
package.json 4806
pings.yaml 1109
prerendered
test
vendor
webpack.aboutwelcome.config.js 832
webpack.system-addon.config.js 2182
yamscripts.yml 2311