mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Execute the failure steps for an empty src attribute.
This commit is contained in:
parent
c64d7578d1
commit
ef10393ba6
2 changed files with 1 additions and 10 deletions
|
@ -357,7 +357,7 @@ impl HTMLMediaElement {
|
|||
ResourceSelectionMode::Attribute(src) => {
|
||||
// Step 1
|
||||
if src.is_empty() {
|
||||
// TODO failed with attribute
|
||||
self.queue_dedicated_media_source_failure_steps();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue