summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/media-controls-when-javascript-disabled.html
blob: b7e52bc43d9ed975e29eba983df091c2c22cdeae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
    <head>
        <style> #error { display: none; } </style>
        <script>
            function showErrorMsg() 
            {
                document.getElementById('error').style.display = 'block';
            }
        </script>
    </head>
    
<body onload="showErrorMsg()">

    <p>TEST: Video should have controls when scripting is disabled.</p>

    <video 
        src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov">
    </video>

    <noscript><p>Scripting is DISABLED.</p></noscript>

    <p id=error>ERROR: JavaScript must be disabled for this test.</p>


</body>
</html>