mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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"
|
"support"
|
||||||
],
|
],
|
||||||
"html/semantics/embedded-content/media-elements/error-codes/error.html": [
|
"html/semantics/embedded-content/media-elements/error-codes/error.html": [
|
||||||
"b13ed034ef354031000614c7f11a20d8fc17653a",
|
"67fa0268d3ceca1508873d5eb0eecfd4853924e0",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"html/semantics/embedded-content/media-elements/event_canplay.html": [
|
"html/semantics/embedded-content/media-elements/event_canplay.html": [
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
[error.html]
|
[error.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[audio.error after successful load]
|
[audio.error after successful load]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[audio.error after setting src to the empty string]
|
[audio.error after setting src to the empty string]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -13,6 +13,7 @@ function error_test(tagName, src) {
|
||||||
async_test(function(t) {
|
async_test(function(t) {
|
||||||
var e = document.createElement(tagName);
|
var e = document.createElement(tagName);
|
||||||
e.src = src;
|
e.src = src;
|
||||||
|
e.onerror = t.unreached_func();
|
||||||
e.onloadeddata = t.step_func(function() {
|
e.onloadeddata = t.step_func(function() {
|
||||||
assert_equals(e.error, null);
|
assert_equals(e.error, null);
|
||||||
t.done();
|
t.done();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue