summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/media-controls-when-javascript-disabled.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/media-controls-when-javascript-disabled.html')
-rw-r--r--WebCore/manual-tests/media-controls-when-javascript-disabled.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/WebCore/manual-tests/media-controls-when-javascript-disabled.html b/WebCore/manual-tests/media-controls-when-javascript-disabled.html
new file mode 100644
index 0000000..b7e52bc
--- /dev/null
+++ b/WebCore/manual-tests/media-controls-when-javascript-disabled.html
@@ -0,0 +1,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> \ No newline at end of file