| OLD | NEW |
| 1 IDL dictionary unittest | 1 IDL dictionary unittest |
| 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 Test for setting an empty dictionary | 6 Test for setting an empty dictionary |
| 7 PASS dict.longMember is undefined. | 7 PASS dict.longMember is undefined. |
| 8 PASS dict.longMemberWithDefault is 42 | 8 PASS dict.longMemberWithDefault is 42 |
| 9 PASS dict.longOrNullMember is undefined. | 9 PASS dict.longOrNullMember is undefined. |
| 10 PASS dict.longOrNullMemberWithDefault is null | 10 PASS dict.longOrNullMemberWithDefault is null |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 PASS dict.longMemberWithDefault is 42 | 56 PASS dict.longMemberWithDefault is 42 |
| 57 PASS dict.longOrNullMember is undefined. | 57 PASS dict.longOrNullMember is undefined. |
| 58 PASS dict.longOrNullMemberWithDefault is null | 58 PASS dict.longOrNullMemberWithDefault is null |
| 59 | 59 |
| 60 Test for setting invalid member | 60 Test for setting invalid member |
| 61 PASS dict.invalidMember is undefined. | 61 PASS dict.invalidMember is undefined. |
| 62 | 62 |
| 63 Test for setting invalid enum value | 63 Test for setting invalid enum value |
| 64 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail
ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a
valid enum value.. | 64 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail
ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a
valid enum value.. |
| 65 | 65 |
| 66 Test for passing invalid dictionary values |
| 67 PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' o
n 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. |
| 68 PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute '
set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. |
| 69 |
| 66 PASS successfullyParsed is true | 70 PASS successfullyParsed is true |
| 67 | 71 |
| 68 TEST COMPLETE | 72 TEST COMPLETE |
| 69 | 73 |
| OLD | NEW |