browsertime 14.6.1 → 14.9.0

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,23 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+
4
+ ## 14.9.0 - 2021-11-07
5
+ ### Added
6
+ * Updated to new Chome HAR PR [#1666](https://github.com/sitespeedio/browsertime/pull/1666) that inlcudes chunk information.
7
+
8
+ ### Fixed
9
+ * Updated to yargs 17.2.1 [#1667](https://github.com/sitespeedio/browsertime/pull/1667).
10
+ ## 14.8.0 - 2021-10-27
11
+ ### Added
12
+ * New Edgedriver 95 and Edge 95 in the Docker container [#1665](https://github.com/sitespeedio/browsertime/pull/1665).
13
+
14
+ ### Fixed
15
+ * Fix for storing Firefox memory report and geckoprofile on Android 10+. Thank you [Andrew Creskey](https://github.com/acreskeyMoz) for PR [#1663](https://github.com/sitespeedio/browsertime/pull/1663).
16
+
17
+ ## 14.7.0 - 2021-10-20
18
+ ### Added
19
+ * Updated to Chromedriver 95. Added Chrome 95 in the Docker container.
20
+
3
21
  ## 14.6.1 - 2021-10-18
4
22
  ### Fixed
5
23
  * If loading the URL fails (we get an exception, the browser crashes etc) make sure we stop the video correctly so it can be used [#1657](https://github.com/sitespeedio/browsertime/pull/1657).
@@ -103,11 +103,13 @@ class GeckoProfiler {
103
103
 
104
104
  let deviceProfileFilename = destinationFilename;
105
105
  if (isAndroidConfigured(options)) {
106
- deviceProfileFilename = `/sdcard/geckoProfile-${index}.json`;
106
+ deviceProfileFilename = `/sdcard/Android/data/${this.firefoxConfig.android.package}/files/geckoProfile-${index}.json`;
107
107
  }
108
108
 
109
109
  // Must use String.raw or else the backslashes on Windows will be escapes.
110
- log.info(`Collecting Gecko profile in ${destinationFilename}`);
110
+ log.info(
111
+ `Collecting Gecko profile from ${deviceProfileFilename} to ${destinationFilename}`
112
+ );
111
113
  const script = `
112
114
  var callback = arguments[arguments.length - 1];
113
115
  Services.profiler.dumpProfileToFileAsync(String.raw\`${deviceProfileFilename}\`)
@@ -1,4 +1,5 @@
1
1
  'use strict';
2
+ const log = require('intel').getLogger('browsertime.firefox');
2
3
  const path = require('path');
3
4
  const pathToFolder = require('../support/pathToFolder');
4
5
  const { BrowserError } = require('../support/errors');
@@ -76,7 +77,7 @@ class MemoryReport {
76
77
 
77
78
  let deviceReportFilename = destinationFilename;
78
79
  if (isAndroidConfigured(options)) {
79
- deviceReportFilename = `/sdcard/memoryReport-${index}.json`;
80
+ deviceReportFilename = `/sdcard/Android/data/${firefoxConfig.android.package}/files/memoryReport-${index}.json`;
80
81
  }
81
82
 
82
83
  let minimizeFirst = 'false';
@@ -84,6 +85,9 @@ class MemoryReport {
84
85
  minimizeFirst = 'true';
85
86
  }
86
87
 
88
+ log.info(
89
+ `Collecting memory report from ${deviceReportFilename} to ${destinationFilename}`
90
+ );
87
91
  let script = `Cc['@mozilla.org/memory-info-dumper;1'].getService(Ci.nsIMemoryInfoDumper).dumpMemoryReportsToNamedFile(String.raw\`${deviceReportFilename}\`, null, null, false, ${minimizeFirst});`;
88
92
  await timeout(
89
93
  runner.runPrivilegedScript(script, 'Collecting memory report'),
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.6.1",
3
+ "version": "14.9.0",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",
7
7
  "@devicefarmer/adbkit": "2.11.3",
8
8
  "btoa": "1.2.1",
9
- "@sitespeed.io/chromedriver": "94.0.4606-41",
10
- "chrome-har": "0.11.12",
9
+ "@sitespeed.io/chromedriver": "95.0.4638-17",
10
+ "chrome-har": "0.12.0",
11
11
  "chrome-remote-interface": "0.31.0",
12
12
  "dayjs": "1.10.5",
13
13
  "execa": "5.1.1",
@@ -23,21 +23,21 @@
23
23
  "lodash.pick": "4.4.0",
24
24
  "lodash.set": "4.3.2",
25
25
  "selenium-webdriver": "4.0.0",
26
- "@sitespeed.io/edgedriver": "93.0.910-5",
26
+ "@sitespeed.io/edgedriver": "95.0.1020-30",
27
27
  "@sitespeed.io/geckodriver": "0.29.1-2",
28
28
  "@sitespeed.io/tracium": "0.3.3",
29
29
  "speedline-core": "1.4.3",
30
30
  "@cypress/xvfb": "1.2.4",
31
- "yargs": "17.0.1"
31
+ "yargs": "17.2.1"
32
32
  },
33
33
  "optionalDependencies": {
34
34
  "jimp": "0.16.1"
35
35
  },
36
36
  "devDependencies": {
37
- "bluebird": "3.5.5",
38
- "chai": "4.2.0",
37
+ "bluebird": "3.7.2",
38
+ "chai": "4.3.4",
39
39
  "chai-as-promised": "7.1.1",
40
- "eslint": "7.32.0",
40
+ "eslint": "8.0.1",
41
41
  "eslint-config-prettier": "8.3.0",
42
42
  "eslint-plugin-prettier": "4.0.0",
43
43
  "longjohn": "0.2.12",
Binary file
Binary file
package/docs/.DS_Store DELETED
Binary file
@@ -1 +0,0 @@
1
- *.png
package/lib/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/vendor/.DS_Store DELETED
Binary file
Binary file
Binary file