Skip to content

Commit

Permalink
Bug 1099187 - Use fuzz factor for currentTime in addition to duration…
Browse files Browse the repository at this point in the history
…. r=karlt
  • Loading branch information
bholley committed Nov 18, 2014
1 parent 1e288de commit eacac7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/media/mediasource/test/test_WaitingOnMissingData.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
});
v.addEventListener("ended", function () {
ok(Math.abs(v.duration - 4) < 0.1, "Video has correct duration. This fuzz factor is due to bug 1065207");
is(v.currentTime, v.duration, "Video has correct current time: " + v.currentTime);
ok(Math.abs(v.currentTime - 4) < 0.1, "Video has correct currentTime. See bug 1101062");
ok(gotWaiting, "Received waiting event and playback continued after data added");
SimpleTest.finish();
});
Expand Down

0 comments on commit eacac7d

Please sign in to comment.