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
|
@ -569825,7 +569825,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/media-elements/ready-states/autoplay.html": [
|
||||
"6ca8c7a50317c932254cf8254c7638d61f8bb00a",
|
||||
"001cc2fc7405f443e1f83f1685c810371cc24de7",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/media-elements/readyState_during_canplay.html": [
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
[autoplay.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[audio.autoplay]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay and load()]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay and play()]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay and pause()]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay and internal pause steps]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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