4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.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.testRunner) {
23 testRunner.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>