mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 16:27:31 +09:00
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
This commit is contained in:
parent
53a2f1007f
commit
ed176bb836
12 changed files with 41 additions and 25 deletions
|
|
@ -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, { });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue