[Lighthouse] Roll Lighthouse 11.5.0

Bug: 772558
Change-Id: I87a85234e355f44bad885de4a0f74c47343b309c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5230858
Reviewed-by: Connor Clark <cjamcl@chromium.org>
Commit-Queue: Adam Raine <asraine@chromium.org>
This commit is contained in:
Adam Raine
2024-01-26 19:55:57 +00:00
committed by Devtools-frontend LUCI CQ
parent c74e5765da
commit e5340fb414
8 changed files with 1912 additions and 111 deletions
File diff suppressed because one or more lines are too long
+27
View File
@@ -1166,6 +1166,30 @@
"core/audits/layout-shift-elements.js | title": {
"message": "Avoid large layout shifts"
},
"core/audits/layout-shifts.js | columnScore": {
"message": "Layout shift score"
},
"core/audits/layout-shifts.js | description": {
"message": "These are the largest layout shifts observed on the page. Each table item represents a single layout shift, and shows the element that shifted the most. Below each item are possible root causes that led to the layout shift. Some of these layout shifts may not be included in the CLS metric value due to [windowing](https://web.dev/articles/cls#what_is_cls). [Learn how to improve CLS](https://web.dev/articles/optimize-cls)"
},
"core/audits/layout-shifts.js | displayValueShiftsFound": {
"message": "{shiftCount, plural, =1 {1 layout shift found} other {# layout shifts found}}"
},
"core/audits/layout-shifts.js | rootCauseFontChanges": {
"message": "Web font loaded"
},
"core/audits/layout-shifts.js | rootCauseInjectedIframe": {
"message": "Injected iframe"
},
"core/audits/layout-shifts.js | rootCauseRenderBlockingRequest": {
"message": "A late network request adjusted the page layout"
},
"core/audits/layout-shifts.js | rootCauseUnsizedMedia": {
"message": "Media element lacking an explicit size"
},
"core/audits/layout-shifts.js | title": {
"message": "Avoid large layout shifts"
},
"core/audits/lcp-lazy-loaded.js | description": {
"message": "Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint. [Learn more about optimal lazy loading](https://web.dev/articles/lcp-lazy-loading)."
},
@@ -3374,6 +3398,9 @@
"report/renderer/report-utils.js | passedAuditsGroupTitle": {
"message": "Passed audits"
},
"report/renderer/report-utils.js | pwaRemovalMessage": {
"message": "Alongside [Chrome’s updated Installability Criteria](https://developer.chrome.com/blog/update-install-criteria), Lighthouse will be deprecating the PWA category in a future release. Please refer to the [updated PWA documentation](https://developer.chrome.com/docs/devtools/progressive-web-apps/) for future PWA testing."
},
"report/renderer/report-utils.js | runtimeAnalysisWindow": {
"message": "Initial page load"
},
+27
View File
@@ -1166,6 +1166,30 @@
"core/audits/layout-shift-elements.js | title": {
"message": "Âv́ôíd̂ ĺâŕĝé l̂áŷóût́ ŝh́îf́t̂ś"
},
"core/audits/layout-shifts.js | columnScore": {
"message": "L̂áŷóût́ ŝh́îf́t̂ śĉór̂é"
},
"core/audits/layout-shifts.js | description": {
"message": "T̂h́êśê ár̂é t̂h́ê ĺâŕĝéŝt́ l̂áŷóût́ ŝh́îf́t̂ś ôb́ŝér̂v́êd́ ôń t̂h́ê ṕâǵê. Éâćĥ t́âb́l̂é ît́êḿ r̂ép̂ŕêśêńt̂ś â śîńĝĺê ĺâýôút̂ śĥíf̂t́, âńd̂ śĥóŵś t̂h́ê él̂ém̂én̂t́ t̂h́ât́ ŝh́îf́t̂éd̂ t́ĥé m̂óŝt́. B̂él̂óŵ éâćĥ ít̂ém̂ ár̂é p̂óŝśîb́l̂é r̂óôt́ ĉáûśêś t̂h́ât́ l̂éd̂ t́ô t́ĥé l̂áŷóût́ ŝh́îf́t̂. Śôḿê óf̂ t́ĥéŝé l̂áŷóût́ ŝh́îf́t̂ś m̂áŷ ńôt́ b̂é îńĉĺûd́êd́ îń t̂h́ê ĆL̂Ś m̂ét̂ŕîć v̂ál̂úê d́ûé t̂ó [ŵín̂d́ôẃîńĝ](https://web.dev/articles/cls#what_is_cls). [Ĺêár̂ń ĥóŵ t́ô ím̂ṕr̂óv̂é ĈĹŜ](https://web.dev/articles/optimize-cls)"
},
"core/audits/layout-shifts.js | displayValueShiftsFound": {
"message": "{shiftCount, plural, =1 {1 l̂áŷóût́ ŝh́îf́t̂ f́ôún̂d́} other {# l̂áŷóût́ ŝh́îf́t̂ś f̂óûńd̂}}"
},
"core/audits/layout-shifts.js | rootCauseFontChanges": {
"message": "Ŵéb̂ f́ôńt̂ ĺôád̂éd̂"
},
"core/audits/layout-shifts.js | rootCauseInjectedIframe": {
"message": "Îńĵéĉt́êd́ îf́r̂ám̂é"
},
"core/audits/layout-shifts.js | rootCauseRenderBlockingRequest": {
"message": "Â ĺât́ê ńêt́ŵór̂ḱ r̂éq̂úêśt̂ ád̂j́ûśt̂éd̂ t́ĥé p̂áĝé l̂áŷóût́"
},
"core/audits/layout-shifts.js | rootCauseUnsizedMedia": {
"message": "M̂éd̂íâ él̂ém̂én̂t́ l̂áĉḱîńĝ án̂ éx̂ṕl̂íĉít̂ śîźê"
},
"core/audits/layout-shifts.js | title": {
"message": "Âv́ôíd̂ ĺâŕĝé l̂áŷóût́ ŝh́îf́t̂ś"
},
"core/audits/lcp-lazy-loaded.js | description": {
"message": "Âb́ôv́ê-t́ĥé-f̂ól̂d́ îḿâǵêś t̂h́ât́ âŕê ĺâźîĺŷ ĺôád̂éd̂ ŕêńd̂ér̂ ĺât́êŕ îń t̂h́ê ṕâǵê ĺîf́êćŷćl̂é, ŵh́îćĥ ćâń d̂él̂áŷ t́ĥé l̂ár̂ǵêśt̂ ćôńt̂én̂t́f̂úl̂ ṕâín̂t́. [L̂éâŕn̂ ḿôŕê áb̂óût́ ôṕt̂ím̂ál̂ ĺâźŷ ĺôád̂ín̂ǵ](https://web.dev/articles/lcp-lazy-loading)."
},
@@ -3374,6 +3398,9 @@
"report/renderer/report-utils.js | passedAuditsGroupTitle": {
"message": "P̂áŝśêd́ âúd̂ít̂ś"
},
"report/renderer/report-utils.js | pwaRemovalMessage": {
"message": "Âĺôńĝśîd́ê [Ćĥŕôḿê’ś ûṕd̂át̂éd̂ Ín̂śt̂ál̂ĺâb́îĺît́ŷ Ćr̂ít̂ér̂íâ](https://developer.chrome.com/blog/update-install-criteria), Ĺîǵĥt́ĥóûśê ẃîĺl̂ b́ê d́êṕr̂éĉát̂ín̂ǵ t̂h́ê ṔŴÁ ĉát̂éĝór̂ý îń â f́ût́ûŕê ŕêĺêáŝé. P̂ĺêáŝé r̂éf̂ér̂ t́ô t́ĥé [ûṕd̂át̂éd̂ ṔŴÁ d̂óĉúm̂én̂t́ât́îón̂](https://developer.chrome.com/docs/devtools/progressive-web-apps/) f́ôŕ f̂út̂úr̂é P̂ẂÂ t́êśt̂ín̂ǵ."
},
"report/renderer/report-utils.js | runtimeAnalysisWindow": {
"message": "Îńît́îál̂ ṕâǵê ĺôád̂"
},
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -1,4 +1,4 @@
declare var Y: {
declare var X: {
new (e: any, t: any): {
_document: any;
_lighthouseChannel: string;
@@ -26,7 +26,7 @@ declare var Y: {
saveFile(e: any, t: any): void;
};
};
declare var ne: {
declare var te: {
new (e: any): {
_dom: any;
_opts: {};
@@ -40,7 +40,7 @@ declare var ne: {
_renderReport(e: any): any;
};
};
declare var re: {
declare var ne: {
new (e: any, t?: {}): {
_dom: any;
_opts: {};
@@ -111,4 +111,4 @@ declare function Ct(r: any, e: any): {
};
declare function zt(r: any, e: any): void;
declare function Lt(r: any): boolean;
export { Y as DOM, ne as ReportRenderer, re as ReportUIFeatures, Mt as format, St as renderReport, Ct as swapLocale };
export { X as DOM, te as ReportRenderer, ne as ReportUIFeatures, Mt as format, St as renderReport, Ct as swapLocale };
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -97,7 +97,7 @@ describe('Navigation', async function() {
// 1 refresh after auditing to reset state
assert.strictEqual(numNavigations, 5);
assert.strictEqual(lhr.lighthouseVersion, '11.4.0');
assert.strictEqual(lhr.lighthouseVersion, '11.5.0');
assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/);
assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');
@@ -117,7 +117,7 @@ describe('Navigation', async function() {
});
const {auditResults, erroredAudits, failedAudits} = getAuditsBreakdown(lhr, ['max-potential-fid']);
assert.strictEqual(auditResults.length, 190);
assert.strictEqual(auditResults.length, 191);
assert.deepStrictEqual(erroredAudits, []);
assert.deepStrictEqual(failedAudits.map(audit => audit.id), [
'installable-manifest',
@@ -201,7 +201,7 @@ describe('Navigation', async function() {
];
const {auditResults, erroredAudits, failedAudits} = getAuditsBreakdown(lhr, flakyAudits);
assert.strictEqual(auditResults.length, 167);
assert.strictEqual(auditResults.length, 168);
assert.deepStrictEqual(erroredAudits, []);
assert.deepStrictEqual(failedAudits.map(audit => audit.id), [
'installable-manifest',
+1 -1
View File
@@ -91,7 +91,7 @@ describe('Timespan', async function() {
assert.strictEqual(devicePixelRatio, 1);
const {auditResults, erroredAudits, failedAudits} = getAuditsBreakdown(lhr);
assert.strictEqual(auditResults.length, 47);
assert.strictEqual(auditResults.length, 48);
assert.deepStrictEqual(erroredAudits, []);
assert.deepStrictEqual(failedAudits.map(audit => audit.id), []);