summaryrefslogtreecommitdiff
path: root/docshell/test/test_bug662170.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/test_bug662170.html')
-rw-r--r--docshell/test/test_bug662170.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docshell/test/test_bug662170.html b/docshell/test/test_bug662170.html
index 514bb55b16..0e626fed48 100644
--- a/docshell/test/test_bug662170.html
+++ b/docshell/test/test_bug662170.html
@@ -32,7 +32,7 @@ function childLoad2() {
cw.scrollTo(0, 300);
// Did we actually scroll somewhere?
- isnot(cw.pageYOffset, 0, 'Y offset should be non-zero after scrolling.');
+ isnot(Math.round(cw.pageYOffset), 0, 'Y offset should be non-zero after scrolling.');
// Now load file_bug662170.html#, which should take us to the top of the
// page.