| OLD | NEW |
| 1 Basic test of setting Oscillator node types. | 1 Basic test of setting Oscillator node types. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS Oscillator correctly set to SINE type. | 5 PASS Oscillator correctly set to "sine" type. |
| 6 PASS Oscillator correctly set to SQUARE type. | 6 PASS Oscillator correctly set to "square" type. |
| 7 PASS Oscillator correctly set to SAWTOOTH type. | 7 PASS Oscillator correctly set to "sawtooth" type. |
| 8 PASS Oscillator correctly set to TRIANGLE type. | 8 PASS Oscillator correctly set to "triangle" type. |
| 9 PASS Oscillator correctly set to SINE type using legacy integer value. | 9 PASS Directly setting oscillator type to "custom" correctly failed. |
| 10 PASS Oscillator correctly set to SQUARE type using legacy integer value. | 10 PASS Oscillator correctly set to "custom" type using setPeriodicWave. |
| 11 PASS Oscillator correctly set to SAWTOOTH type using legacy integer value. | 11 PASS Oscillator correctly not set to 0. |
| 12 PASS Oscillator correctly set to TRIANGLE type using legacy integer value. | |
| 13 PASS Oscillator correctly set to CUSTOM type using setPeriodicWave. | |
| 14 PASS Directly setting oscillator type to CUSTOM correctly throws exception. | |
| 15 PASS Setting oscillator to invalid type 5 correctly throws exception. | |
| 16 PASS Setting .type to illegal string value threw TypeError. | |
| 17 PASS Setting .type to illegal type of Float32Array threw TypeError. | |
| 18 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 19 | 13 |
| 20 TEST COMPLETE | 14 TEST COMPLETE |
| 21 | 15 |
| OLD | NEW |