diff options
author | Tom Ritter <tom@mozilla.com> | 2018-02-20 15:36:16 -0600 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-14 11:32:10 +0100 |
commit | b367c382417a8769d02dfb02639b0055dc62cef3 (patch) | |
tree | 8eb2e1b9425c2e517d600d6e57324b9d112e5910 /toolkit/content | |
parent | f0b727eac28244e0fa24a6107dee44e83ad0f561 (diff) | |
download | UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.gz UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.lz UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.xz UXP-b367c382417a8769d02dfb02639b0055dc62cef3.zip |
Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM
MozReview-Commit-ID: 6xhQ71a5rDU
--HG--
extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
Diffstat (limited to 'toolkit/content')
-rw-r--r-- | toolkit/content/tests/widgets/test_videocontrols.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/content/tests/widgets/test_videocontrols.html b/toolkit/content/tests/widgets/test_videocontrols.html index 191aaef58..146c63a72 100644 --- a/toolkit/content/tests/widgets/test_videocontrols.html +++ b/toolkit/content/tests/widgets/test_videocontrols.html @@ -229,7 +229,7 @@ function runTest(event) { is(event.type, "seeked", "checking event type"); ok(true, "video position is at " + video.currentTime); var expectedTime = videoDuration / 2; - ok(Math.abs(video.currentTime - expectedTime) < 0.1, "checking expected playback position"); + ok(Math.abs(video.currentTime - expectedTime) < 0.1, "checking expected playback position Math.abs(" + video.currentTime + " - " + expectedTime + ") < .1"); SimpleTest.executeSoon(() => { synthesizeMouse(video, scrubberOffsetX + (scrubberWidth / 4), scrubberCenterY, { }); |