WebCore/manual-tests/media-controls-when-javascript-disabled.html
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 <html>
       
     2     <head>
       
     3         <style> #error { display: none; } </style>
       
     4         <script>
       
     5             function showErrorMsg() 
       
     6             {
       
     7                 document.getElementById('error').style.display = 'block';
       
     8             }
       
     9         </script>
       
    10     </head>
       
    11     
       
    12 <body onload="showErrorMsg()">
       
    13 
       
    14     <p>TEST: Video should have controls when scripting is disabled.</p>
       
    15 
       
    16     <video 
       
    17         src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov">
       
    18     </video>
       
    19 
       
    20     <noscript><p>Scripting is DISABLED.</p></noscript>
       
    21 
       
    22     <p id=error>ERROR: JavaScript must be disabled for this test.</p>
       
    23 
       
    24 
       
    25 </body>
       
    26 </html>