OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src=../resources/js-test.js></script> | 3 <script src=../resources/js-test.js></script> |
| 4 <script src="resources/compatibility.js"></script> |
4 <script> | 5 <script> |
5 var jsTestIsAsync = true; | 6 var jsTestIsAsync = true; |
6 description("Tests re-wrapping an AudioNode sublass after its JS wrapper is dele
ted wraps the node as the correct subclass. A binding integrity assert will fire
otherwise."); | 7 description("Tests re-wrapping an AudioNode sublass after its JS wrapper is dele
ted wraps the node as the correct subclass. A binding integrity assert will fire
otherwise."); |
7 </script> | 8 </script> |
8 <script src=resources/scriptprocessornode-testing.js></script> | 9 <script src=resources/scriptprocessornode-testing.js></script> |
9 <script> | 10 <script> |
10 var sampleRate = 44100.0; | 11 var sampleRate = 44100.0; |
11 var sourceChannels = 2; | 12 var sourceChannels = 2; |
12 var inputChannels = 8; | 13 var inputChannels = 8; |
13 var outputChannels = 6; | 14 var outputChannels = 6; |
14 runJSNodeTest(); | 15 runJSNodeTest(); |
15 var docElement = document.body ? document.body : document.documentElement; | 16 var docElement = document.body ? document.body : document.documentElement; |
16 function initCF() { | 17 function initCF() { |
17 try { tCF122 = document.createElementNS("http://www.w3.org/1999/xhtml", "ifr
ame"); } catch(e) {} | 18 try { tCF122 = document.createElementNS("http://www.w3.org/1999/xhtml", "ifr
ame"); } catch(e) {} |
18 try { docElement.appendChild(tCF122); } catch(e) {} | 19 try { docElement.appendChild(tCF122); } catch(e) {} |
19 } | 20 } |
20 document.addEventListener("DOMContentLoaded", initCF, false); | 21 document.addEventListener("DOMContentLoaded", initCF, false); |
21 </script> | 22 </script> |
22 </html> | 23 </html> |
OLD | NEW |