Properly fail in autoplay-overrides-preload.html

This commit is contained in:
Anthony Ramine 2017-09-29 18:41:00 +02:00
parent fb9d3bf350
commit b6e3faa317
3 changed files with 6 additions and 6 deletions

View file

@ -17,6 +17,7 @@
a.preload = preload;
a.autoplay = true;
}
a.addEventListener('error', t.unreached_func());
a.addEventListener('playing', t.step_func(function() {
assert_equals(a.readyState, a.HAVE_ENOUGH_DATA);
assert_false(a.paused);