Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

connorjclark
Copy link
Collaborator

Adds a regenerate.js trace for paul's site, useful for tests on paint metrics. I replaced some of lcp-m78 (but not all - some tests relied on too specific stuff in there).

ref #15841

@connorjclark connorjclark requested a review from a team as a code owner May 13, 2024 19:21
@connorjclark connorjclark requested review from adamraine and removed request for a team May 13, 2024 19:21
@@ -241,7 +241,7 @@ function getRequestWillBeSentEvent(networkRecord, index, normalizedTiming) {
wallTime: 0,
initiator,
type: networkRecord.resourceType || 'Document',
frameId: networkRecord.frameId || `${idBase}.1`,
frameId: networkRecord.frameId,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

frameId can be not present for some requests, so this fallback lost information. It was caught by roundtrip test on new trace.

@connorjclark connorjclark changed the title core(test): add modern chrome trace for paint metrics core(test): add generatable chrome trace for paint metrics May 13, 2024
@connorjclark connorjclark changed the title core(test): add generatable chrome trace for paint metrics core(test): add generatable trace for paint metrics May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants