mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Properly fail in /html/semantics/embedded-content/media-elements/error-codes/error.html
This commit is contained in:
parent
83488a20f1
commit
0e56b79e78
3 changed files with 3 additions and 3 deletions
|
@ -569325,7 +569325,7 @@
|
|||
"support"
|
||||
],
|
||||
"html/semantics/embedded-content/media-elements/error-codes/error.html": [
|
||||
"b13ed034ef354031000614c7f11a20d8fc17653a",
|
||||
"67fa0268d3ceca1508873d5eb0eecfd4853924e0",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/media-elements/event_canplay.html": [
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
[error.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[audio.error after successful load]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[audio.error after setting src to the empty string]
|
||||
expected: FAIL
|
||||
|
|
|
@ -13,6 +13,7 @@ function error_test(tagName, src) {
|
|||
async_test(function(t) {
|
||||
var e = document.createElement(tagName);
|
||||
e.src = src;
|
||||
e.onerror = t.unreached_func();
|
||||
e.onloadeddata = t.step_func(function() {
|
||||
assert_equals(e.error, null);
|
||||
t.done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue