| OLD | NEW |
| (Empty) |
| 1 CONSOLE WARNING: line 64: The provided value '0' is not a valid enum value of ty
pe OscillatorType. | |
| 2 Basic test of setting Oscillator node types. | |
| 3 | |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 5 | |
| 6 PASS osc.type = 'sine' is equal to "sine". | |
| 7 PASS osc.type = 'square' is equal to "square". | |
| 8 PASS osc.type = 'sawtooth' is equal to "sawtooth". | |
| 9 PASS osc.type = 'triangle' is equal to "triangle". | |
| 10 PASS osc.type = 'custom' threw InvalidStateError: Failed to set the 'type' prope
rty on 'OscillatorNode': 'type' cannot be set directly to 'custom'. Use setPeri
odicWave() to create a custom Oscillator type.. | |
| 11 PASS osc.setPeriodicWave(wave) did not throw an exception. | |
| 12 PASS osc.type is equal to "custom". | |
| 13 PASS osc.type = 0 is not equal to 0. | |
| 14 PASS osc.type is equal to "custom". | |
| 15 PASS successfullyParsed is true | |
| 16 | |
| 17 TEST COMPLETE | |
| 18 | |
| OLD | NEW |