diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-08-10 18:01:49 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-21 19:52:35 +0100 |
commit | 4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d (patch) | |
tree | b4f563927fa6f72db494b9a7ae2b846781b2da35 /docshell/test/test_bug1186774.html | |
parent | a80b5f2728fdb0d2eaeace78528ea8c64427d39e (diff) | |
download | UXP-4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d.tar UXP-4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d.tar.gz UXP-4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d.tar.lz UXP-4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d.tar.xz UXP-4fd939e8c9dd97c45e7fcd1314f3ab482a2cf23d.zip |
JS - make window.pageYOffset/pageXOffset/scrollX/scrollY double
Diffstat (limited to 'docshell/test/test_bug1186774.html')
-rw-r--r-- | docshell/test/test_bug1186774.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docshell/test/test_bug1186774.html b/docshell/test/test_bug1186774.html index 52ef5f62c..623e7996b 100644 --- a/docshell/test/test_bug1186774.html +++ b/docshell/test/test_bug1186774.html @@ -28,7 +28,7 @@ function runTest() { } child.onpopstate = function() { - is(child.scrollY, 6000, "Shouldn't have scrolled before popstate"); + is(Math.round(child.scrollY), 6000, "Shouldn't have scrolled before popstate"); child.close(); SimpleTest.finish(); } |