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

Restore LCP background image Opp & Exp #2454

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Restore LCP background image Opp & Exp #2454

merged 1 commit into from
Oct 11, 2022

Conversation

scottjehl
Copy link
Contributor

It seems that the LCP info coming from the browser may have changed recently and no longer includes bg image lcp info on the element object of the LCP event.

But the info is often elsewhere at least in the json.

This keeps our existing logic for old tests with test data that contains LCP bg image info on the element, while adding a check for the new location

fixes #2449

…ins LCP bg image info on the element, while adding a check for the new location

fixes #2449
@scottjehl scottjehl requested a review from tkadlec October 11, 2022 17:29
Copy link
Contributor

@stoyan stoyan left a comment

Choose a reason for hiding this comment

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

shipit

@scottjehl scottjehl merged commit 7c051dc into master Oct 11, 2022
@scottjehl scottjehl deleted the 2499 branch October 11, 2022 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LCP opportunities are not finding background image LCPs now
2 participants