Bug 752786 - Disable one part of test_bug469613.xul on OS X 10.8 for too many intermittent failures

This commit is contained in:
Ed Morley 2012-09-28 15:45:29 +01:00
parent cac1034dd4
commit aed12527c9

View File

@ -43,8 +43,12 @@ function doTest() {
setTimeout(function() {
// Check if the 10px were scrolled.
is(scrollbox.scrollTop, 10, "Starting a 0-delta scroll shouldn't cancel a pending async scroll.");
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
if (isOSXMtnLion) {
todo(false, "Starting a 0-delta scroll shouldn't cancel a pending async scroll is disabled on OS X 10.8, see bug 752786");
} else {
is(scrollbox.scrollTop, 10, "Starting a 0-delta scroll shouldn't cancel a pending async scroll.");
}
// Second test
scrollbox.scrollTop = 20;