diff --git a/dom/media/test/manifest.js b/dom/media/test/manifest.js index 28c25f261640..973bb3a8c21e 100644 --- a/dom/media/test/manifest.js +++ b/dom/media/test/manifest.js @@ -14,7 +14,7 @@ var gSmallTests = [ { name:"seek.webm", type:"video/webm", width:320, height:240, duration:3.966 }, { name:"vp9.webm", type:"video/webm", width:320, height:240, duration:4 }, { name:"detodos.opus", type:"audio/ogg; codecs=opus", duration:2.9135 }, - { name:"gizmo.mp4", type:"video/mp4", duration:5.56 }, + { name:"gizmo.mp4", type:"video/mp4", width:560, height:320, duration:5.56 }, { name:"bogus.duh", type:"bogus/duh" } ]; diff --git a/dom/media/test/mochitest.ini b/dom/media/test/mochitest.ini index 6479cc42ad61..236fe8a5490c 100644 --- a/dom/media/test/mochitest.ini +++ b/dom/media/test/mochitest.ini @@ -470,6 +470,7 @@ skip-if = (toolkit == 'android' && processor == 'x86') #x86 only skip-if = (toolkit == 'android' && processor == 'x86') #x86 only bug 914439 [test_reset_events_async.html] [test_reset_src.html] +[test_video_dimensions.html] [test_resume.html] skip-if = true # bug 1021673 [test_seek_out_of_range.html] diff --git a/dom/media/test/test_video_dimensions.html b/dom/media/test/test_video_dimensions.html new file mode 100644 index 000000000000..30cb959c9bc6 --- /dev/null +++ b/dom/media/test/test_video_dimensions.html @@ -0,0 +1,67 @@ + + + + Test that a video element has set video dimensions on loadedmetadata + + + + + +
+
+
+ +