New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692820 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Task



Sign in to add a comment

Fix screenshot test to impose min size limit

Project Member Reported by rjahagir@chromium.org, Feb 16 2017

Issue description

As per partner bug (https://code.google.com/p/chrome-os-partner/issues/detail?id=55971), we should also check the screenshot is above a certain size in platfrom_InputScreenshot.
 

Comment 1 by ka...@chromium.org, Feb 16 2017

Cc: dchan@chromium.org
I checked cyan and squawks, screenshot size is so different. 
cyan: 644K while squawks 20K. How can we determine it's indeed the image screenshot taking ? 
In the bug, the "empty" screenshot was 78 bytes. We could impose a very minimal floor, maybe 1k to make sure the file size is non-negligible. 

Comment 4 by dchan@google.com, Feb 22 2017

May be you can run the file command and it should return the file type.
Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)

Sign in to add a comment