Properly fail in video_008.html

This commit is contained in:
Anthony Ramine 2017-09-29 19:16:37 +02:00
parent 622533ef48
commit b47331812a
3 changed files with 5 additions and 4 deletions

View file

@ -570093,7 +570093,7 @@
"testharness"
],
"html/semantics/embedded-content/media-elements/video_008.htm": [
"087f17d5f7a75ac1990ef7ecb413fc4eaf312be5",
"e34c87a2821b7f307d858afe8b83154664e0e0b5",
"testharness"
],
"html/semantics/embedded-content/media-elements/video_controls_present-manual.html": [

View file

@ -1,6 +1,5 @@
[video_008.htm]
type: testharness
expected: TIMEOUT
[HTML5 Media Elements: 'media' attribute]
expected: NOTRUN
expected: FAIL

View file

@ -21,12 +21,14 @@
videotest.done();
}
var do_error = videotest.unreached_func();
</script>
</head>
<body>
<div id='log'></div>
<video id="video0" autoplay onplay="do_play(event);">
<video id="video0" autoplay onplay="do_play(event);" onerror="do_error();">
<script type="text/javascript">
document.write(