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: make offscreen-images audit work without TTI #6039

Merged
merged 7 commits into from
Oct 4, 2018

Conversation

exterkamp
Copy link
Member

fixes: #5955

Summary
Makes it so that when TTI derivation throws an error, the offscreen-image audit will fallback to using EndOfTab trace for cutoff instead of erroring out.

@exterkamp exterkamp changed the title core: Make offscreen-images audit work without TTI core: make offscreen-images audit work without TTI Sep 19, 2018
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

nice one!! hurray for cleaning up to async along the way :D 🎉

@GoogleChrome GoogleChrome deleted a comment from googlebot Sep 21, 2018
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM, nice work @exterkamp!!

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM2!

lighthouse-core/audits/byte-efficiency/offscreen-images.js Outdated Show resolved Hide resolved
@brendankenny
Copy link
Member

not sure what we were waiting on here :)

@brendankenny brendankenny merged commit 71658c6 into master Oct 4, 2018
@brendankenny brendankenny deleted the bug/offscreen-image-no-tti branch October 4, 2018 18:31
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.

offscreen-images: fallback to eotrace if there's no TTI
3 participants