Additional debugging info for Bug 608634. rs+=cpearce, a=NPOTB
authorJustin Wood <Callek@gmail.com>
Mon, 01 Nov 2010 23:28:01 -0400
changeset 56843 0c4fb639c49e8e102c9d2d9b106fec94d81f037c
parent 56842 f0129b7f9190c885a950633b72ef10b2210f1deb
child 56844 39a979e269314d44ae462327b9e27c9739aa0a07
push id16707
push userCallek@gmail.com
push dateWed, 03 Nov 2010 02:11:44 +0000
treeherdermozilla-central@0c4fb639c49e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNPOTB
bugs608634
milestone2.0b8pre
first release with
nightly linux32
0c4fb639c49e / 4.0b8pre / 20101103025946 / files
nightly linux64
0c4fb639c49e / 4.0b8pre / 20101103030815 / files
nightly mac
0c4fb639c49e / 4.0b8pre / 20101103030752 / files
nightly win32
0c4fb639c49e / 4.0b8pre / 20101103042043 / files
nightly win64
0c4fb639c49e / 4.0b8pre / 20101103055432 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
--- a/content/media/test/test_error_in_video_document.html
+++ b/content/media/test/test_error_in_video_document.html
@@ -24,17 +24,23 @@ https://bugzilla.mozilla.org/show_bug.cg
 
 var f = document.createElement("iframe");
 
 function check() {
   var v = document.body.getElementsByTagName("iframe")[0].contentDocument.body.getElementsByTagName("video")[0];
   
   // 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();
 }
 
 // Find an error test that we'd think we should be able to play (if it
 // wasn't already known to fail).
 var t = getPlayableVideo(gErrorTests);