Add debugging info for Bug 608634. rs+=cpearce over IRC, a=NPOTB

(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)

--HG--
extra : rebase_source : dd5c4049e24ce79e266e2b28038c36525a6fd52b
This commit is contained in:
Justin Wood 2010-10-31 22:39:52 -04:00
parent ab2f3cf055
commit 45be115a63

View File

@ -26,6 +26,11 @@ var f = document.createElement("iframe");
function check() {
var v = document.body.getElementsByTagName("iframe")[0].contentDocument.body.getElementsByTagName("video")[0];
// Debug info for Bug 608634
info(document.body.getElementsByTagName("iframe")[0].src);
info(v.src);
ok(v.error && v.error.code == MediaError.MEDIA_ERR_DECODE, "Must have error set to MEDIA_ERR_DECODE");
SimpleTest.finish();
}