| Index: LayoutTests/webaudio/scriptprocessornode-rewrap.html
|
| diff --git a/LayoutTests/webaudio/scriptprocessornode-rewrap.html b/LayoutTests/webaudio/scriptprocessornode-rewrap.html
|
| index e42e42915f0abaf2ac086336b27f667200f3b38f..12bbdc5662ad3e348b4d488fb3d6875e713408f2 100644
|
| --- a/LayoutTests/webaudio/scriptprocessornode-rewrap.html
|
| +++ b/LayoutTests/webaudio/scriptprocessornode-rewrap.html
|
| @@ -1,6 +1,5 @@
|
| <!DOCTYPE html>
|
| <html>
|
| -<body>
|
| <script src=../resources/js-test.js></script>
|
| <script src="resources/compatibility.js"></script>
|
| <script>
|
| @@ -14,8 +13,11 @@ var sourceChannels = 2;
|
| var inputChannels = 8;
|
| var outputChannels = 6;
|
| runJSNodeTest();
|
| -var i = document.createElement("iframe");
|
| -document.body.appendChild(i);
|
| +var docElement = document.body ? document.body : document.documentElement;
|
| +function initCF() {
|
| + try { tCF122 = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe"); } catch(e) {}
|
| + try { docElement.appendChild(tCF122); } catch(e) {}
|
| +}
|
| +document.addEventListener("DOMContentLoaded", initCF, false);
|
| </script>
|
| -</body>
|
| </html>
|
|
|