upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / media / video-document-types.html
1 <html>
2     <head>
3         <script>
4         if (window.layoutTestController) {
5             layoutTestController.dumpAsText();
6             layoutTestController.waitUntilDone();
7         }
8
9         function log(msg)
10         {
11             document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
12         }
13         
14         function test()
15         {
16             var video = document.getElementById('fr').contentDocument.getElementsByTagName('video')[0];
17             if (video)
18                 log("PASS: <video> used");
19             else
20                 log("FAIL: <video> NOT used");
21
22             if (window.layoutTestController) {
23                 layoutTestController.notifyDone();
24             }
25         }
26         </script>
27     </head>
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>
32     </body>
33 </html>