From c6f8992c9dfd1743855858b43fa37b60618503ec Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Mon, 1 Nov 2010 23:28:01 -0400 Subject: [PATCH] Additional debugging info for Bug 608634. rs+=cpearce, a=NPOTB (Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing) --- content/media/test/test_error_in_video_document.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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();