diff --git a/build/build-extension.js b/build/build-extension.js
index bd15a525b6e1..65318fd622ce 100644
--- a/build/build-extension.js
+++ b/build/build-extension.js
@@ -27,6 +27,10 @@ const packagePath = `${distDir}/../extension-${browserBrand}-package`;
const manifestVersion = readJson(`${sourceDir}/manifest.json`).version;
async function buildEntryPoint() {
+ const locales = fs.readdirSync(`${LH_ROOT}/shared/localization/locales`)
+ .filter(f => !f.includes('.ctc.json'))
+ .map(f => f.replace('.json', ''))
+ .filter(locale => !['en-XA', 'en-XL', 'ar-XB'].includes(locale));
await esbuild.build({
entryPoints: [`${sourceDir}/scripts/${sourceName}`],
outfile: `${distDir}/scripts/${distName}`,
@@ -38,6 +42,7 @@ async function buildEntryPoint() {
plugins.bulkLoader([
plugins.partialLoaders.replaceText({
'___BROWSER_BRAND___': browserBrand,
+ '__LOCALES__': JSON.stringify(locales),
}),
]),
],
diff --git a/clients/devtools/devtools-entry.js b/clients/devtools/devtools-entry.js
index a060e2d74de4..ec1ed11c965c 100644
--- a/clients/devtools/devtools-entry.js
+++ b/clients/devtools/devtools-entry.js
@@ -38,6 +38,7 @@ function createConfig(categoryIDs, device) {
// In DevTools, emulation is applied _before_ Lighthouse starts (to deal with viewport emulation bugs). go/xcnjf
// As a result, we don't double-apply viewport emulation.
screenEmulation: {disabled: true},
+ ignoreStatusCode: true,
};
if (device === 'desktop') {
settings.throttling = constants.throttling.desktopDense4G;
diff --git a/clients/extension/popup.html b/clients/extension/popup.html
index 39cbfca7f69d..b574108e3d14 100644
--- a/clients/extension/popup.html
+++ b/clients/extension/popup.html
@@ -19,54 +19,66 @@
-
Uses the PSI API
-
-
-
-
- You can also run Lighthouse via the DevTools Lighthouse panel.
-
- Shortcut to open DevTools:
-
-
-
-
-
- You can also run Lighthouse via the Node CLI.
-
-
+
-