mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Properly fail in autoplay.html
This commit is contained in:
parent
71e987951f
commit
d0020888a2
3 changed files with 7 additions and 8 deletions
|
@ -17,7 +17,7 @@ function autoplay_test(tagName, src) {
|
|||
}
|
||||
});
|
||||
['canplay', 'canplaythrough',
|
||||
'pause', 'play', 'playing'].forEach(function(type) {
|
||||
'pause', 'play', 'playing', 'error'].forEach(function(type) {
|
||||
e.addEventListener(type, callback);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue