-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I used this tool on a large codebase, and came across some cases that were missed. Here's
everything I found:
GoogleChrome/lighthouse#13503 (comment)
(link to code at particular commit)
https://github.com/GoogleChrome/lighthouse/tree/11a6a030f3e29910be6dc1166f17e085c17da6da
I believe the following specific examples show every unique case missed.
Does not transform:
const hasMetricError = lhr.categories.performance && lhr.categories.performance.auditRefs
.some(audit => Boolean(audit.group === 'metrics' && lhr.audits[audit.id].errorMessage));But it will transform this:
const hasMetricError = lhr.categories.performance && lhr.categories.performance.auditRefs;Perhaps function calls are not handled?
Does not transform:
this.json.audits['script-treemap-data'] && this.json.audits['script-treemap-data'].detailsor
this.json.audits.blah && this.json.audits.blah.detailsPerhaps this. is not handled?
Metadata
Metadata
Assignees
Labels
No labels