Properly fail in audio_loop_base.html

This commit is contained in:
Anthony Ramine 2017-09-29 14:21:52 +02:00
parent 16b6686bbb
commit 83488a20f1
3 changed files with 3 additions and 4 deletions

View file

@ -569297,7 +569297,7 @@
"manual" "manual"
], ],
"html/semantics/embedded-content/media-elements/audio_loop_base.html": [ "html/semantics/embedded-content/media-elements/audio_loop_base.html": [
"7b60d16acf933da11aa65988bf2dfada68c3b853", "0b80893f6737ac647fd0205748ce3e6be437a3c3",
"testharness" "testharness"
], ],
"html/semantics/embedded-content/media-elements/audio_muted_overriding_volume-manual.html": [ "html/semantics/embedded-content/media-elements/audio_muted_overriding_volume-manual.html": [

View file

@ -1,7 +1,5 @@
[audio_loop_base.html] [audio_loop_base.html]
type: testharness type: testharness
expected: TIMEOUT
disabled: extreme timeout
[Check if audio.loop is set to true that expecting the seeking event is fired more than once] [Check if audio.loop is set to true that expecting the seeking event is fired more than once]
expected: NOTRUN expected: FAIL

View file

@ -33,6 +33,7 @@
looped = true; looped = true;
} }
media.addEventListener("error", t.unreached_func());
media.addEventListener("seeking", startTest, false); media.addEventListener("seeking", startTest, false);
media.loop = true; media.loop = true;
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random(); media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();