Refactor createImageBitmap resize layout tests
This change reduces createImageBitmap resize test tolerance from 10 to 0 for all image sources except for blob (which is set to 5). It also refactors the tests to include pixelated, low and medium filter qualities. Furthermore, it separates the test path for premul and unpremul image bitmap sources when the filter quality is high, to match the way this is implemented in chromium. Bug: 744647, 792607 Change-Id: I4e0b8af71d88f5885ff56540a17ec8b716cd58d7 Reviewed-on: https://chromium-review.googlesource.com/809808 Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Reviewed-by:Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#522204}
Showing
This diff is collapsed.
Please register or sign in to comment