diff --git a/content/media/test/test_error_in_video_document.html b/content/media/test/test_error_in_video_document.html index 8bf4bc7e4f88..08cb56082af6 100644 --- a/content/media/test/test_error_in_video_document.html +++ b/content/media/test/test_error_in_video_document.html @@ -29,7 +29,13 @@ function check() { // Debug info for Bug 608634 ok(true, "iframe src=" + document.body.getElementsByTagName("iframe")[0].src); - ok(true, "video src=" + v.src); + ok(true, "v.readyState=" + v.readyState); + ok(true, "v.networkState=" + v.networkState); + if (v.error) { + ok(true, "v.error.code=" + v.error.code); + } else { + ok(true, "v.error is null"); + } ok(v.error && v.error.code == MediaError.MEDIA_ERR_DECODE, "Must have error set to MEDIA_ERR_DECODE"); SimpleTest.finish();