author | Justin Wood <Callek@gmail.com> |
Mon, 01 Nov 2010 23:28:01 -0400 | |
changeset 56843 | 0c4fb639c49e8e102c9d2d9b106fec94d81f037c |
parent 56842 | f0129b7f9190c885a950633b72ef10b2210f1deb |
child 56844 | 39a979e269314d44ae462327b9e27c9739aa0a07 |
push id | 16707 |
push user | Callek@gmail.com |
push date | Wed, 03 Nov 2010 02:11:44 +0000 |
treeherder | mozilla-central@0c4fb639c49e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | NPOTB |
bugs | 608634 |
milestone | 2.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
4.0b8pre
/
20101103025946
/
pushlog to previous
nightly linux64
4.0b8pre
/
20101103030815
/
pushlog to previous
nightly mac
4.0b8pre
/
20101103030752
/
pushlog to previous
nightly win32
4.0b8pre
/
20101103042043
/
pushlog to previous
nightly win64
4.0b8pre
/
20101103055432
/
pushlog to previous
|
content/media/test/test_error_in_video_document.html | file | annotate | diff | comparison | revisions |
--- 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);