GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.01k stars 9.31k forks source link

core(lantern): resolve some differences when using trace #16033

Closed connorjclark closed 4 weeks ago

connorjclark commented 4 weeks ago

1) a handful of test failures were from node.record instead of node.request 2) missed passing networkRecords to createTestTrace 3) fixed difference re: requests from Fetch 4) fixed difference re: data urls not having a resource size 5) handle creating requests in a redirect chain better 6) createTestTrace was putting initiator data on wrong event 7) always produce network events in createTestTrace (since it impacts graph construction when doing cpu node linking)

ref https://github.com/GoogleChrome/lighthouse/issues/15841