browsertime 25.3.0 → 25.3.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,10 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 25.3.1 - 2025-10-24
|
|
4
|
+
### Fixed
|
|
5
|
+
* Better handling of closing XVFB [#2332](https://github.com/sitespeedio/browsertime/pull/2332).
|
|
6
|
+
* Firefox: Disable quicksuggest [#2333](https://github.com/sitespeedio/browsertime/pull/2333).
|
|
7
|
+
|
|
3
8
|
## 25.3.0 - 2025-10-17
|
|
4
9
|
### Added
|
|
5
10
|
* 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/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