Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: use main-frame LCP trace element #14760

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Conversation

brendankenny
Copy link
Member

Reverts the s/processedNavigation.largestContentfulPaintEvt/processedNavigation.largestContentfulPaintAllFramesEvt from #14695 and goes back to getting the LCP element from the main frame. Was not a bug, since that's where the LCP value comes from too.

Also added some comments and assertions to the frames smoke test for the next time I look at these lines and wonder, "wait, why aren't we looking at the all-frames LCP?".

@brendankenny brendankenny requested a review from a team as a code owner February 7, 2023 18:40
@brendankenny brendankenny requested review from connorjclark and removed request for a team February 7, 2023 18:40
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.

None yet

3 participants