Properly fail in /html/semantics/embedded-content/media-elements/error-codes/error.html

This commit is contained in:
Anthony Ramine 2017-09-29 14:25:13 +02:00
parent 83488a20f1
commit 0e56b79e78
3 changed files with 3 additions and 3 deletions

View file

@ -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();