4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone();
11 document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
16 var video = document.getElementById('fr').contentDocument.getElementsByTagName('video')[0];
18 log("PASS: <video> used");
20 log("FAIL: <video> NOT used");
22 if (window.layoutTestController) {
23 layoutTestController.notifyDone();
28 <body onload="setTimeout(test, 250)">
29 <iframe src="content/counting.mp4" id="fr" width=380 height=330></iframe>
30 <p>This tests that a standalone MPEG-4 file with 'sdsm' and 'odsm' tracks is opened in a MediaDocument.</p>
31 <pre id="console"></pre>