Bug 1299847 - Re-fuzz test_bitmaprenderer.html with updated values now that Skia is the default content backend on Android r=lsalzman
authorGeorge Wright <george@mozilla.com>
Mon, 05 Sep 2016 14:57:59 -0400
changeset 312902 fd2ab87ba9fb30124af6a5807d2347fb4e8fa6bf
parent 312901 f7fc4fab8018940bba5caf66e650592794f8a853
child 312903 9f7f3b88d96906b0d00c3022798529bfe6c616cf
push id20470
push usercbook@mozilla.com
push dateWed, 07 Sep 2016 15:25:31 +0000
treeherderfx-team@95acb9299faf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsalzman
bugs1299847
milestone51.0a1
Bug 1299847 - Re-fuzz test_bitmaprenderer.html with updated values now that Skia is the default content backend on Android r=lsalzman
dom/canvas/test/test_bitmaprenderer.html
--- a/dom/canvas/test/test_bitmaprenderer.html
+++ b/dom/canvas/test/test_bitmaprenderer.html
@@ -71,18 +71,18 @@ function runTest(canvasWidth, canvasHeig
     var snapshotRef = snapshotWindow(window);
 
     // bitmaprenderers use an ImageLayer whereas a normal 2d canvas uses a canvas layer. This
     // can result in some anti-aliasing differences on the edge. We consider slight AA differences
     // to be reasonable when using different codepaths so fuzz a little bit.
     var fuzz = { numDifferentPixels:  0,
                  maxDifference: 0 };
     if (SpecialPowers.Services.appinfo.widgetToolkit == "android") {
-      fuzz.maxDifference = 14;
-      fuzz.numDifferentPixels = 130;
+      fuzz.maxDifference = 2;
+      fuzz.numDifferentPixels = 131;
     }
     var results = compareSnapshots(snapshot, snapshotRef, true, fuzz);
     ok(results[0], "Screenshots should be the same");
 
     document.body.removeChild(canvasRef);
     document.body.removeChild(canvas2);
 
     nextTest();