blob: fa11d9944a61dd2a65379f2c9205804727c7e03a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!doctype html>
<title>playbackRate</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
var v = document.createElement('video');
assert_equals(v.playbackRate, 1);
}, 'playbackRate initial value');
async_test(function(t) {
var v = document.createElement('video');
v.playbackRate = 2;
v.addEventListener('ratechange', t.step_func(function() {
t.done();
}));
}, 'setting playbackRate');
</script>
|