lighthouse 9.5.0-dev.20220518 → 9.5.0-dev.20220519

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.
@@ -131,7 +131,10 @@ async function gotoURL(driver, requestor, options) {
131
131
  let requestedUrl = navigationUrls.requestedUrl;
132
132
  if (typeof requestor === 'string') {
133
133
  if (requestedUrl && !URL.equalWithExcludedFragments(requestor, requestedUrl)) {
134
- log.error('Navigation', 'Provided URL did not match initial navigation URL');
134
+ log.error(
135
+ 'Navigation',
136
+ `Provided URL (${requestor}) did not match initial navigation URL (${requestedUrl})`
137
+ );
135
138
  }
136
139
  requestedUrl = requestor;
137
140
  }
@@ -258,6 +258,7 @@ class ImageElements extends FRGatherer {
258
258
  driver.defaultSession.setNextProtocolTimeout(250);
259
259
  size = await driver.executionContext.evaluate(determineNaturalSize, {
260
260
  args: [url],
261
+ useIsolation: true,
261
262
  });
262
263
  this._naturalSizeCache.set(url, size);
263
264
  } catch (_) {
@@ -340,6 +341,7 @@ class ImageElements extends FRGatherer {
340
341
 
341
342
  const elements = await executionContext.evaluate(collectImageElementInfo, {
342
343
  args: [],
344
+ useIsolation: true,
343
345
  deps: [
344
346
  pageFunctions.getElementsInDocumentString,
345
347
  pageFunctions.getBoundingClientRectString,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lighthouse",
3
- "version": "9.5.0-dev.20220518",
3
+ "version": "9.5.0-dev.20220519",
4
4
  "description": "Automated auditing, performance metrics, and best practices for the web.",
5
5
  "main": "./lighthouse-core/index.js",
6
6
  "bin": {