From ff811bd1a9ce264b69707c4f69f0c3578697862b Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Tue, 23 Aug 2016 15:24:07 -0700 Subject: [PATCH] Bug 1289549 bump slop in jpg color test, r=maglione MozReview-Commit-ID: GGNze65Lpkl --- .../test/browser/browser_ext_tabs_captureVisibleTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/extensions/test/browser/browser_ext_tabs_captureVisibleTab.js b/browser/components/extensions/test/browser/browser_ext_tabs_captureVisibleTab.js index 6445a2f2a5e1..7862daf259b0 100644 --- a/browser/components/extensions/test/browser/browser_ext_tabs_captureVisibleTab.js +++ b/browser/components/extensions/test/browser/browser_ext_tabs_captureVisibleTab.js @@ -95,7 +95,7 @@ function* runTest(options) { browser.test.assertEq(`rgba(${color},255)`, `rgba(${[...imageData]})`, `${format} image color is correct at (${x}, ${y})`); } else { // 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)`);