Execute the failure steps for an empty src attribute.

This commit is contained in:
Josh Matthews 2015-11-07 18:05:18 -05:00
parent c64d7578d1
commit ef10393ba6
2 changed files with 1 additions and 10 deletions

View file

@ -357,7 +357,7 @@ impl HTMLMediaElement {
ResourceSelectionMode::Attribute(src) => { ResourceSelectionMode::Attribute(src) => {
// Step 1 // Step 1
if src.is_empty() { if src.is_empty() {
// TODO failed with attribute self.queue_dedicated_media_source_failure_steps();
return; return;
} }

View file

@ -1,9 +0,0 @@
[error.html]
type: testharness
expected: TIMEOUT
[audio.error after setting src to the empty string]
expected: TIMEOUT
[video.error after setting src to the empty string]
expected: TIMEOUT