Skip to content

Fix screenshot capture. - #1839

Merged
brendankenny merged 1 commit into
masterfrom
fixscreenshots
Mar 9, 2017
Merged

brendankenny merged 1 commit into
masterfrom
fixscreenshots

Conversation

@paulirish

Copy link
Copy Markdown
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. :)

@ebidel ebidel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch.

@brendankenny brendankenny left a comment

Copy link
Copy Markdown
Contributor

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.

3 participants