browsertime 17.0.0-beta.0 → 17.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,6 +11,7 @@ const CHROME_AMD_EDGE_INTERNAL_PHONE_HOME = [
|
|
|
11
11
|
'"MAP cache.pack.google.com 127.0.0.1"',
|
|
12
12
|
'"MAP clients1.google.com 127.0.0.1"',
|
|
13
13
|
'"MAP update.googleapis.com 127.0.0.1"',
|
|
14
|
+
'"MAP content-autofill.googleapis.com 127.0.0.1"',
|
|
14
15
|
'"MAP redirector.gvt1.com 127.0.0.1"',
|
|
15
16
|
'"MAP laptop-updates.brave.com 127.0.0.1"',
|
|
16
17
|
'"MAP offlinepages-pa.googleapis.com 127.0.0.1"',
|
package/lib/core/engine/index.js
CHANGED
|
@@ -350,7 +350,7 @@ export default class Engine {
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
} // We don't have a HAR for Firefox on Android
|
|
353
|
-
else if (options.browser === 'firefox' && options
|
|
353
|
+
else if (options.browser === 'firefox' && isAndroidConfigured(options)) {
|
|
354
354
|
for (let result of totalResult) {
|
|
355
355
|
result.info.browser.name = 'Firefox';
|
|
356
356
|
try {
|
|
@@ -163,7 +163,8 @@ export async function configureBuilder(builder, baseDir, options) {
|
|
|
163
163
|
ffOptions.setPreference(name, false);
|
|
164
164
|
} else if (value === 'true') {
|
|
165
165
|
ffOptions.setPreference(name, true);
|
|
166
|
-
|
|
166
|
+
// eslint-disable-next-line unicorn/prefer-number-properties
|
|
167
|
+
} else if (isNaN(value)) {
|
|
167
168
|
ffOptions.setPreference(name, value);
|
|
168
169
|
} else {
|
|
169
170
|
ffOptions.setPreference(name, Number(value));
|