OLD | NEW |
1 This tests the constructor for the AutocompleteErrorEvent DOM class. | 1 This tests the constructor for the AutocompleteErrorEvent DOM class. |
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 new AutocompleteErrorEvent('eventType').bubbles is false | 6 PASS new AutocompleteErrorEvent('eventType').bubbles is false |
7 PASS new AutocompleteErrorEvent('eventType').cancelable is false | 7 PASS new AutocompleteErrorEvent('eventType').cancelable is false |
8 PASS new AutocompleteErrorEvent('eventType').reason is "" | 8 PASS new AutocompleteErrorEvent('eventType').reason is "" |
9 PASS new AutocompleteErrorEvent('eventType', { bubbles: false }).bubbles is fals
e | 9 PASS new AutocompleteErrorEvent('eventType', { bubbles: false }).bubbles is fals
e |
10 PASS new AutocompleteErrorEvent('eventType', { bubbles: true }).bubbles is true | 10 PASS new AutocompleteErrorEvent('eventType', { bubbles: true }).bubbles is true |
11 PASS new AutocompleteErrorEvent('eventType', { cancelable: false }).cancelable i
s false | 11 PASS new AutocompleteErrorEvent('eventType', { cancelable: false }).cancelable i
s false |
12 PASS new AutocompleteErrorEvent('eventType', { cancelable: true }).cancelable is
true | 12 PASS new AutocompleteErrorEvent('eventType', { cancelable: true }).cancelable is
true |
13 PASS new AutocompleteErrorEvent('eventType', { reason: 'doremi' }).reason is "do
remi" | 13 PASS new AutocompleteErrorEvent('eventType', { reason: 'cancel' }).reason is "ca
ncel" |
14 PASS new AutocompleteErrorEvent('eventType', { reason: '' }).reason is "" | 14 PASS new AutocompleteErrorEvent('eventType', { reason: '' }).reason is "" |
| 15 PASS new AutocompleteErrorEvent('eventType', { reason: 'disabled' }).reason is "
disabled" |
| 16 PASS new AutocompleteErrorEvent('eventType', { reason: 'invalid' }).reason is "i
nvalid" |
15 PASS new AutocompleteErrorEvent('eventType', { reason: undefined }).reason is "" | 17 PASS new AutocompleteErrorEvent('eventType', { reason: undefined }).reason is "" |
16 PASS new AutocompleteErrorEvent('eventType', { reason: null }).reason is "null" | 18 PASS new AutocompleteErrorEvent('eventType', { reason: 'doremi' }).reason threw
exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided
value 'doremi' is not a valid enum value of type AutocompleteErrorReason.. |
17 PASS new AutocompleteErrorEvent('eventType', { reason: false }).reason is "false
" | 19 PASS new AutocompleteErrorEvent('eventType', { reason: null }).reason threw exce
ption TypeError: Failed to construct 'AutocompleteErrorEvent': The provided valu
e 'null' is not a valid enum value of type AutocompleteErrorReason.. |
18 PASS new AutocompleteErrorEvent('eventType', { reason: true }).reason is "true" | 20 PASS new AutocompleteErrorEvent('eventType', { reason: false }).reason threw exc
eption TypeError: Failed to construct 'AutocompleteErrorEvent': The provided val
ue 'false' is not a valid enum value of type AutocompleteErrorReason.. |
19 PASS new AutocompleteErrorEvent('eventType', { reason: 12345 }).reason is "12345
" | 21 PASS new AutocompleteErrorEvent('eventType', { reason: true }).reason threw exce
ption TypeError: Failed to construct 'AutocompleteErrorEvent': The provided valu
e 'true' is not a valid enum value of type AutocompleteErrorReason.. |
20 PASS new AutocompleteErrorEvent('eventType', { reason: 18446744073709551615 }).r
eason is "18446744073709552000" | 22 PASS new AutocompleteErrorEvent('eventType', { reason: 12345 }).reason threw exc
eption TypeError: Failed to construct 'AutocompleteErrorEvent': The provided val
ue '12345' is not a valid enum value of type AutocompleteErrorReason.. |
21 PASS new AutocompleteErrorEvent('eventType', { reason: NaN }).reason is "NaN" | 23 PASS new AutocompleteErrorEvent('eventType', { reason: NaN }).reason threw excep
tion TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value
'NaN' is not a valid enum value of type AutocompleteErrorReason.. |
22 PASS new AutocompleteErrorEvent('eventType', { reason: [] }).reason is "" | 24 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: '' }).bubbles is true |
23 PASS new AutocompleteErrorEvent('eventType', { reason: [1, 2, 3] }).reason is "1
,2,3" | 25 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: 'cancel' }).cancelable is true |
24 PASS new AutocompleteErrorEvent('eventType', { reason: {doremi: 12345} }).reason
is "[object Object]" | 26 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: 'disabled' }).reason is "disabled" |
25 PASS new AutocompleteErrorEvent('eventType', { reason: {valueOf: function () { r
eturn 'doremi'; } } }).reason is "[object Object]" | |
26 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: 'doremi' }).bubbles is true | |
27 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: 'doremi' }).cancelable is true | |
28 PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true,
reason: 'doremi' }).reason is "doremi" | |
29 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
30 | 28 |
31 TEST COMPLETE | 29 TEST COMPLETE |
32 | 30 |
OLD | NEW |