зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1289549 bump slop in jpg color test, r=maglione
MozReview-Commit-ID: GGNze65Lpkl
This commit is contained in:
Родитель
8ec26c4b57
Коммит
ff811bd1a9
|
@ -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)`);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче