Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / media-controls.html
1 <!DOCTYPE HTML>
2 <html>
3   <body>
4     <script src="../resources/js-test-pre.js"></script>
5     <script>
6       description("This tests that the script creation of an audio element with controls works when accessibility is enabled and does not crash.");
7
8       if (window.testRunner && window.accessibilityController) {
9           function createAudio() {
10               var audio = document.createElement('audio');
11               audio.setAttribute('controls', 'controls');
12               document.documentElement.appendChild(audio);
13           }
14           window.onload = createAudio;
15       }
16     </script>
17     <script src="../resources/js-test-post.js"></script>
18   </body>
19 </html>