Skip to content

Commit

Permalink
Properly fail in autoplay.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Sep 29, 2017
1 parent 71e9879 commit d002088
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/wpt/metadata/MANIFEST.json
Expand Up @@ -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": [
Expand Down
@@ -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

Expand Up @@ -17,7 +17,7 @@
}
});
['canplay', 'canplaythrough',
'pause', 'play', 'playing'].forEach(function(type) {
'pause', 'play', 'playing', 'error'].forEach(function(type) {
e.addEventListener(type, callback);
});
}
Expand Down

0 comments on commit d002088

Please sign in to comment.