Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / webaudio / audiobuffersource-ended-detached-frame.html
1 <!DOCTYPE html>
2 <head>
3     <script src="../resources/js-test.js"></script>
4     <script>
5         function runTest()
6         {
7             description("Test that we do not crash when trying to fire an 'ended' event at a audiobuffersource node in a detached frame.");
8             jsTestIsAsync = true;
9
10             frame = document.createElement("iframe");
11             frame.src = "resources/audiobuffersource-ended-detached-frame-iframe.html";
12             frame.onload = function() {
13                 frame.contentWindow.runTest();
14                 frame.remove();
15                 setTimeout(function() {
16                     finishJSTest();
17                 }, 10);
18             };
19             document.body.appendChild(frame);
20         }
21     </script>
22 </head>
23 <body onload="runTest()">
24 </body>