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(fps): limit height at max webp size #14499

Merged
merged 8 commits into from
Nov 8, 2022
Merged

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Nov 4, 2022

The screenshot was returning an empty string for the data on https://theverge.com

We are not limited by the max texture size (16384 on my macbook; but this is unrelated to Page.captureScreenshot) but we are limited by the max web size of 16383

@adamraine adamraine requested a review from a team as a code owner November 4, 2022 19:49
@adamraine adamraine requested review from connorjclark and removed request for a team November 4, 2022 19:49
metrics.contentSize.height /
metrics.layoutViewport.clientHeight
metrics.cssContentSize.height /
metrics.cssLayoutViewport.clientHeight
Copy link
Member Author

Choose a reason for hiding this comment

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

@adamraine adamraine changed the title core(fps): limit at correct max texture size core(fps): limit height at max webp size Nov 8, 2022
@devtools-bot devtools-bot deleted the max-texture-inner-height branch November 8, 2022 22:56
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

4 participants