browsertime 24.5.2 → 24.6.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,15 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 24.6.0 - 2025-05-05
|
|
4
|
+
### Added
|
|
5
|
+
* Updated the Docker container to use Chrome 136.0, Firefox 138 and Edge 135.0 [#2277](https://github.com/sitespeedio/browsertime/pull/2277).
|
|
6
|
+
### Fixed
|
|
7
|
+
* PreURL and pageCompleteCheckNetworkIdle didn't work together as reported in [sitespeed.io #4509](https://github.com/sitespeedio/sitespeed.io/issues/4509). Fixed in [#2278](https://github.com/sitespeedio/browsertime/pull/2278).
|
|
8
|
+
|
|
9
|
+
## 24.5.3 - 2025-04-30
|
|
10
|
+
### Fixed
|
|
11
|
+
* Fix for running privileged script in Firefox 138 [#2274](https://github.com/sitespeedio/browsertime/pull/2274).
|
|
12
|
+
|
|
3
13
|
## 24.5.2 - 2025-03-20
|
|
4
14
|
### Fixed
|
|
5
15
|
* Bugfix for the missing FCP delta with TTFB [#2273](https://github.com/sitespeedio/browsertime/pull/2273).
|
package/lib/support/preURL.js
CHANGED
|
@@ -2,9 +2,14 @@ import { getLogger } from '@sitespeed.io/log';
|
|
|
2
2
|
const log = getLogger('browsertime');
|
|
3
3
|
const delay = ms => new Promise(res => setTimeout(res, ms));
|
|
4
4
|
|
|
5
|
-
export async function preURL(
|
|
5
|
+
export async function preURL(
|
|
6
|
+
browser,
|
|
7
|
+
engineDelegate,
|
|
8
|
+
pageCompleteCheck,
|
|
9
|
+
options
|
|
10
|
+
) {
|
|
6
11
|
log.info('Accessing preURL %s', options.preURL);
|
|
7
|
-
await browser.loadAndWait(options.preURL);
|
|
12
|
+
await browser.loadAndWait(options.preURL, pageCompleteCheck, engineDelegate);
|
|
8
13
|
if (!options.preURLDisableWhiteBackground) {
|
|
9
14
|
await browser.runScript(
|
|
10
15
|
'document.body.innerHTML = ""; document.body.style.backgroundColor = "white";',
|
package/package.json
CHANGED