| OLD | NEW |
| 1 Tests the DeviceLightEvent constructor. | 1 Tests the DeviceLightEvent constructor. |
| 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 | 5 |
| 6 PASS typeof newEvent.type == 'string' is true | 6 PASS typeof newEvent.type == 'string' is true |
| 7 PASS newEvent.type is "devicelight" | 7 PASS newEvent.type is "devicelight" |
| 8 PASS typeof newEvent.bubbles == 'boolean' is true | 8 PASS typeof newEvent.bubbles == 'boolean' is true |
| 9 PASS newEvent.bubbles is true | 9 PASS newEvent.bubbles is true |
| 10 PASS typeof newEvent.cancelable == 'boolean' is true | 10 PASS typeof newEvent.cancelable == 'boolean' is true |
| 11 PASS newEvent.cancelable is false | 11 PASS newEvent.cancelable is false |
| 12 PASS typeof newEvent.value == 'number' is true | 12 PASS typeof newEvent.value == 'number' is true |
| 13 PASS newEvent.value is 10 | 13 PASS newEvent.value is 10 |
| 14 PASS defaultEvent.bubbles is true | 14 PASS defaultEvent.bubbles is true |
| 15 PASS defaultEvent.cancelable is false | 15 PASS defaultEvent.cancelable is false |
| 16 PASS defaultEvent.value is Infinity | 16 PASS defaultEvent.value is Infinity |
| 17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
| 18 | 18 |
| 19 TEST COMPLETE | 19 TEST COMPLETE |
| 20 | 20 |
| OLD | NEW |