Back out cset c7f2e01bd3a3 (bug 746876) for robocop perma-orange.

This commit is contained in:
Kartikaya Gupta 2012-06-22 23:04:49 -04:00
parent c78acee61a
commit eb08aefa66
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
[testLoad]
[testNewTab]
[testPanCorrectness]
[test_bug720538]
# [test_bug720538] # see bug 746876
# [testFlingCorrectness] # see bug 727351
[testOverscroll]
[testAxisLocking]

View File

@ -52,6 +52,11 @@ public class test_bug720538 extends PixelTest {
// and now we check a pixel at the bottom of the view to ensure that we have the page
// background and not some checkerboarding. use the second-last row of pixels instead of
// the last row because the last row is subject to rounding and clipping errors
for (int y = 2; y < 10; y++) {
for (int x = 0; x < 10; x++) {
mAsserter.dumpLog("Pixel at " + x + ", " + (mDriver.getGeckoHeight() - y) + ": " + Integer.toHexString(painted.getPixelAt(x, mDriver.getGeckoHeight() - y)));
}
}
mAsserter.ispixel(painted.getPixelAt(0, mDriver.getGeckoHeight() - 2), 0, 0x80, 0, "Checking bottom-left corner of viewport");
}
}