browsertime 23.3.2 → 23.3.3

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
+ ## 23.3.3 - 2024-11-22
4
+ ### Fixed
5
+ * Disable search suggestion requests for Firefox [#2215](https://github.com/sitespeedio/browsertime/pull/2215)
6
+ * Fix for including HTTP requests in the Firefox profile [#2214](https://github.com/sitespeedio/browsertime/pull/2214).
7
+ * Fix when running --enabkleProfileRun and get visual metrics. It used to generate an error log, this fixes that [#2213](https://github.com/sitespeedio/browsertime/pull/2213).
8
+
3
9
  ## 23.3.2 - 2024-11-21
4
10
  ### Fixed
5
11
  * Disable some calls back to home from Firefox [#2212](https://github.com/sitespeedio/browsertime/pull/2212).
@@ -162,6 +162,7 @@ async function run(urls, options) {
162
162
  if (options.enableProfileRun) {
163
163
  if (options.browser === 'firefox') {
164
164
  options.firefox.geckoProfiler = true;
165
+ options.firefox.collectMozLog = true;
165
166
  } else if (options.browser === 'chrome') {
166
167
  options.chrome.timeline = true;
167
168
  options.cpu = true;
@@ -195,5 +195,8 @@ export const defaultFirefoxPreferences = {
195
195
  'browser.newtabpage.activity-stream.newtabWallpapers.enabled': false,
196
196
  'browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled': false,
197
197
  // Don't pull sponsored Top Sites content from the network
198
- 'browser.newtabpage.activity-stream.showSponsoredTopSites': false
198
+ 'browser.newtabpage.activity-stream.showSponsoredTopSites': false,
199
+ // See https://bugzilla.mozilla.org/show_bug.cgi?id=1930110
200
+ // See https://github.com/sitespeedio/browsertime/issues/2211
201
+ 'browser.search.serpEventTelemetryCategorization.enabled': false
199
202
  };
@@ -325,7 +325,9 @@ export class Firefox {
325
325
  }
326
326
 
327
327
  if (this.firefoxConfig.geckoProfiler && this.options.visualMetrics) {
328
- const profileFilename = `geckoProfile-${index}.json.gz`;
328
+ const profileFilename = this.options.enableProfileRun
329
+ ? `geckoProfile-${index}-extra.json.gz`
330
+ : `geckoProfile-${index}.json.gz`;
329
331
  const profileSubdir = pathToFolder(result.url, this.options);
330
332
 
331
333
  try {
@@ -361,7 +363,12 @@ export class Firefox {
361
363
  geckoProfile.meta.visualMetrics = result.visualMetrics;
362
364
 
363
365
  await this.storageManager.writeJson(
364
- path.join(profileSubdir, `geckoProfile-${index}.json`),
366
+ path.join(
367
+ profileSubdir,
368
+ this.options.enableProfileRun
369
+ ? `geckoProfile-${index}-extra.json.gz`
370
+ : `geckoProfile-${index}.json`
371
+ ),
365
372
  geckoProfile,
366
373
  true
367
374
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "23.3.2",
4
+ "version": "23.3.3",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./types/scripting.d.ts",