mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 827836 - Apply a hack to a test that fails intermittently. r=jmaher
This commit is contained in:
parent
41e8b6b37d
commit
10bdfb407a
@ -220,7 +220,12 @@ function pageLoad()
|
||||
popup.history.forward();
|
||||
}
|
||||
else if (loads == 8) {
|
||||
is(popup.scrollY, 300, "test 11");
|
||||
// Bug 821821, on Android tegras we get 299 instead of 300 sometimes
|
||||
if (popup.scrollY >= 299 && popup.scrollY <= 300) {
|
||||
is(1, 1, "test 11");
|
||||
} else {
|
||||
is(1, 0, "test 11, got " + popup.scrollY + " for popup.scrollY instead of 299|300");
|
||||
}
|
||||
popup.close();
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user