summaryrefslogtreecommitdiff
path: root/toolkit/content
diff options
context:
space:
mode:
authorTom Ritter <tom@mozilla.com>2018-02-20 15:36:16 -0600
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 11:32:10 +0100
commitb367c382417a8769d02dfb02639b0055dc62cef3 (patch)
tree8eb2e1b9425c2e517d600d6e57324b9d112e5910 /toolkit/content
parentf0b727eac28244e0fa24a6107dee44e83ad0f561 (diff)
downloaduxp-b367c382417a8769d02dfb02639b0055dc62cef3.tar.gz
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.html2
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 191aaef580..146c63a72b 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, { });