Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 function test_seek8(v, seekTime, is, ok, finish) {
3 function startTest() {
4 v.currentTime = 1000;
5 }
7 function seekEnded() {
8 ok(Math.abs(v.currentTime - v.duration) < 0.2,
9 "currentTime " + v.currentTime + " close to " + v.duration);
10 finish();
11 }
13 v.addEventListener("loadedmetadata", startTest, false);
14 v.addEventListener("seeked", seekEnded, false);
16 }