Chromium Code Reviews| Index: LayoutTests/webaudio/scriptprocessornode-rewrap.html |
| diff --git a/LayoutTests/webaudio/scriptprocessornode-rewrap.html b/LayoutTests/webaudio/scriptprocessornode-rewrap.html |
| index 12bbdc5662ad3e348b4d488fb3d6875e713408f2..e42e42915f0abaf2ac086336b27f667200f3b38f 100644 |
| --- a/LayoutTests/webaudio/scriptprocessornode-rewrap.html |
| +++ b/LayoutTests/webaudio/scriptprocessornode-rewrap.html |
| @@ -1,5 +1,6 @@ |
| <!DOCTYPE html> |
| <html> |
| +<body> |
| <script src=../resources/js-test.js></script> |
| <script src="resources/compatibility.js"></script> |
| <script> |
| @@ -13,11 +14,8 @@ var sourceChannels = 2; |
| var inputChannels = 8; |
| var outputChannels = 6; |
| runJSNodeTest(); |
| -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); |
| +var i = document.createElement("iframe"); |
| +document.body.appendChild(i); |
|
dcheng
2014/10/20 18:35:14
This test looks really bizarre. Is this originally
|
| </script> |
| +</body> |
| </html> |