Bug 1289549 bump slop in jpg color test, r=maglione

MozReview-Commit-ID: GGNze65Lpkl
This commit is contained in:
Shane Caraveo 2016-08-23 15:24:07 -07:00
Родитель 8ec26c4b57
Коммит ff811bd1a9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -95,7 +95,7 @@ function* runTest(options) {
browser.test.assertEq(`rgba(${color},255)`, `rgba(${[...imageData]})`, `${format} image color is correct at (${x}, ${y})`); browser.test.assertEq(`rgba(${color},255)`, `rgba(${[...imageData]})`, `${format} image color is correct at (${x}, ${y})`);
} else { } else {
// Allow for some deviation in JPEG version due to lossy compression. // Allow for some deviation in JPEG version due to lossy compression.
const SLOP = 2; const SLOP = 3;
browser.test.log(`Testing ${format} image color at (${x}, ${y}), have rgba(${[...imageData]}), expecting approx. rgba(${color},255)`); browser.test.log(`Testing ${format} image color at (${x}, ${y}), have rgba(${[...imageData]}), expecting approx. rgba(${color},255)`);