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

Fix screenshot capture. #1839

Merged
merged 1 commit into from Mar 9, 2017
Merged

Fix screenshot capture. #1839

merged 1 commit into from Mar 9, 2017

Conversation

paulirish
Copy link
Member

For the past few weeks (and potentially longer..*) the screenshots we've grabbed during a trace have looked like this:

image

It appears this regressed during some headless screenshot work. Both webpagetest and calibre also noticed this within the last 15 days.
The fix is fairly straightforward, though not intuitive unless you sit next to the engineers who know. Luckily i do. phew. :)

Emulation.setVisibleSize to the rescue!

Also on the bright side, Perceptual Speed Index don't appear to have been significantly affected by this regression. Because its a good metric. :)

Copy link
Contributor

@ebidel ebidel left a comment

Choose a reason for hiding this comment

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

Good catch.

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.

📷 📐

@brendankenny brendankenny merged commit f1aeb58 into master Mar 9, 2017
@brendankenny brendankenny deleted the fixscreenshots branch March 9, 2017 02:32
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.

None yet

3 participants