browsertime 14.19.0 → 14.19.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+
4
+ ## 14.19.1 - 2022-02-03
5
+ ### Fixed
6
+ * Remove the old fix for setting CPUThrottling, that works now in Chrome without that fix [#1708](https://github.com/sitespeedio/browsertime/pull/1708).
7
+ * Do not set binary for Firefox when run on Android [#1706](https://github.com/sitespeedio/browsertime/pull/1706).
8
+
3
9
  ## 14.19.0 - 2022-02-02
4
10
 
5
11
  ### Added
@@ -25,14 +25,6 @@ module.exports = function (seleniumOptions, browserOptions, options, baseDir) {
25
25
  seleniumOptions.addArguments('--disable-setuid-sandbox');
26
26
  }
27
27
 
28
- // Running CPU throttling in Chrome desktop is broken. It works in
29
- // headless mode
30
- if (browserOptions.CPUThrottlingRate) {
31
- seleniumOptions.addArguments(
32
- '--disable-features=IsolateOrigins,site-per-process'
33
- );
34
- }
35
-
36
28
  if (options.xvfb && (options.xvfb === true || options.xvfb === 'true')) {
37
29
  seleniumOptions.addArguments('--disable-gpu');
38
30
  }
@@ -172,9 +172,14 @@ module.exports.configureBuilder = function (builder, baseDir, options) {
172
172
  return n !== undefined;
173
173
  });
174
174
 
175
- ffOptions.setBinary(
176
- firefoxTypes.length > 0 ? firefoxTypes[0] : firefox.Channel.RELEASE
177
- );
175
+ // Do not set binary when using Android
176
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=1751196
177
+
178
+ if (!options.android) {
179
+ ffOptions.setBinary(
180
+ firefoxTypes.length > 0 ? firefoxTypes[0] : firefox.Channel.RELEASE
181
+ );
182
+ }
178
183
 
179
184
  ffOptions.addArguments('-no-remote');
180
185
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.19.0",
3
+ "version": "14.19.1",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",