browsertime 25.3.0 → 25.4.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,14 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 25.4.0 - 2025-11-02
|
|
4
|
+
### Added
|
|
5
|
+
* Chrome and Chromedriver 142 [#2335](https://github.com/sitespeedio/browsertime/pull/2335).
|
|
6
|
+
|
|
7
|
+
## 25.3.1 - 2025-10-24
|
|
8
|
+
### Fixed
|
|
9
|
+
* Better handling of closing XVFB [#2332](https://github.com/sitespeedio/browsertime/pull/2332).
|
|
10
|
+
* Firefox: Disable quicksuggest [#2333](https://github.com/sitespeedio/browsertime/pull/2333).
|
|
11
|
+
|
|
3
12
|
## 25.3.0 - 2025-10-17
|
|
4
13
|
### Added
|
|
5
14
|
* Make it possible to strip cookie and auth headers in the HAR file for Firefox [#2329](https://github.com/sitespeedio/browsertime/pull/2329) and Chrome [#2330](https://github.com/sitespeedio/browsertime/pull/2330). Use `--cleanSensitiveHeaders` to remove a [couple of headers](https://github.com/sitespeedio/browsertime/blob/main/lib/support/har/index.js#L11-L24).
|
|
@@ -204,5 +204,10 @@ export const defaultFirefoxPreferences = {
|
|
|
204
204
|
// https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html
|
|
205
205
|
'telemetry.fog.test.localhost_port': -1,
|
|
206
206
|
'telemetry.fog.test.activity_limit': -1,
|
|
207
|
-
'telemetry.fog.test.inactivity_limit': -1
|
|
207
|
+
'telemetry.fog.test.inactivity_limit': -1,
|
|
208
|
+
|
|
209
|
+
'browser.urlbar.suggest.quicksuggest': false,
|
|
210
|
+
'browser.urlbar.groupLabels.enabled': false,
|
|
211
|
+
'browser.urlbar.suggest.quicksuggest.nonsponsored': false,
|
|
212
|
+
'browser.urlbar.suggest.quicksuggest.sponsored': false
|
|
208
213
|
};
|
package/lib/support/cli.js
CHANGED
|
@@ -858,7 +858,7 @@ export function parseCommandLine() {
|
|
|
858
858
|
})
|
|
859
859
|
.option('edge.edgedriverPath', {
|
|
860
860
|
describe:
|
|
861
|
-
'Path to custom msedgedriver version (need to match your
|
|
861
|
+
'Path to custom msedgedriver version (need to match your Edge version).',
|
|
862
862
|
group: 'edge'
|
|
863
863
|
})
|
|
864
864
|
.option('edge.binaryPath', {
|
package/lib/support/xvfb.js
CHANGED
|
@@ -42,8 +42,7 @@ export async function startXvfb({ size, options }) {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
const xvfbProcess = execa(command, args, {
|
|
45
|
-
stdio: silent ? 'ignore' : 'inherit'
|
|
46
|
-
detached: true
|
|
45
|
+
stdio: silent ? 'ignore' : 'inherit'
|
|
47
46
|
});
|
|
48
47
|
|
|
49
48
|
xvfbProcess.catch(error => {
|
|
@@ -70,10 +69,20 @@ export async function stopXvfb(xvfbSession) {
|
|
|
70
69
|
|
|
71
70
|
try {
|
|
72
71
|
xvfbSession.process.kill('SIGTERM');
|
|
73
|
-
await xvfbSession.process;
|
|
74
72
|
} catch {
|
|
75
73
|
// Just swallow
|
|
76
74
|
}
|
|
75
|
+
|
|
76
|
+
const timeout = 1000;
|
|
77
|
+
const start = Date.now();
|
|
78
|
+
while (Date.now() - start < timeout) {
|
|
79
|
+
try {
|
|
80
|
+
process.kill(xvfbSession.process.pid, 0);
|
|
81
|
+
await new Promise(resolve => setTimeout(resolve, 100));
|
|
82
|
+
} catch {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
77
86
|
}
|
|
78
87
|
|
|
79
88
|
export class XVFB {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browsertime",
|
|
3
3
|
"description": "Get performance metrics from your web page using Browsertime.",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.4.0",
|
|
5
5
|
"bin": "./bin/browsertime.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./types/scripting.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@devicefarmer/adbkit": "3.3.8",
|
|
10
|
-
"@sitespeed.io/chromedriver": "
|
|
10
|
+
"@sitespeed.io/chromedriver": "142.0.7444-59",
|
|
11
11
|
"@sitespeed.io/edgedriver": "141.0.3537-71",
|
|
12
12
|
"@sitespeed.io/geckodriver": "0.36.0",
|
|
13
13
|
"@sitespeed.io/log": "1.0.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"fast-stats": "0.0.7",
|
|
20
20
|
"ff-test-bidi-har-export": "0.0.18",
|
|
21
21
|
"lodash.merge": "4.6.2",
|
|
22
|
-
"selenium-webdriver": "4.
|
|
22
|
+
"selenium-webdriver": "4.38.0",
|
|
23
23
|
"yargs": "18.0.0"
|
|
24
24
|
},
|
|
25
25
|
"optionalDependencies": {
|