| OLD | NEW |
| 1 CONSOLE WARNING: line 227: 'window.webkitStorageInfo' is deprecated. Please use
'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instea
d. | 1 CONSOLE WARNING: line 227: 'window.webkitStorageInfo' is deprecated. Please use
'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instea
d. |
| 2 IDL dictionary unittest | 2 IDL dictionary unittest |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 Test for setting an empty dictionary | 7 Test for setting an empty dictionary |
| 8 PASS dict.longMember is undefined. | 8 PASS dict.longMember is undefined. |
| 9 PASS dict.longMemberWithDefault is 42 | 9 PASS dict.longMemberWithDefault is 42 |
| 10 PASS dict.longOrNullMember is null | 10 PASS dict.longOrNullMember is null |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 PASS dictionaryTest.set({eventTargetOrNullMember: 'invalid'}) threw exception Ty
peError: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMe
mber is not of type EventTarget.. | 139 PASS dictionaryTest.set({eventTargetOrNullMember: 'invalid'}) threw exception Ty
peError: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMe
mber is not of type EventTarget.. |
| 140 PASS dictionaryTest.set({eventTargetOrNullMember: 42}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. | 140 PASS dictionaryTest.set({eventTargetOrNullMember: 42}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. |
| 141 PASS dictionaryTest.set({eventTargetOrNullMember: []}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. | 141 PASS dictionaryTest.set({eventTargetOrNullMember: []}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. |
| 142 PASS dictionaryTest.set({eventTargetOrNullMember: {}}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. | 142 PASS dictionaryTest.set({eventTargetOrNullMember: {}}) threw exception TypeError
: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is
not of type EventTarget.. |
| 143 | 143 |
| 144 Test for passing Dictionary (not IDL dictionary) | 144 Test for passing Dictionary (not IDL dictionary) |
| 145 PASS properties.foo is "x" | 145 PASS properties.foo is "x" |
| 146 PASS properties.bar is "y" | 146 PASS properties.bar is "y" |
| 147 PASS properties.baz is undefined. | 147 PASS properties.baz is undefined. |
| 148 PASS properties is {} | 148 PASS properties is {} |
| 149 PASS dictionaryTest.set({dictionaryMember: 42}) threw exception TypeError: Faile
d to execute 'set' on 'DictionaryTest': member dictionaryMember is not an object
.. | 149 PASS dictionaryTest.set({dictionaryMember: 42}) threw exception TypeError: Faile
d to execute 'set' on 'DictionaryTest': The dictionary provided is neither undef
ined, null nor an Object.. |
| 150 PASS dictionaryTest.set({dictionaryMember: 'foo'}) threw exception TypeError: Fa
iled to execute 'set' on 'DictionaryTest': member dictionaryMember is not an obj
ect.. | 150 PASS dictionaryTest.set({dictionaryMember: 'foo'}) threw exception TypeError: Fa
iled to execute 'set' on 'DictionaryTest': The dictionary provided is neither un
defined, null nor an Object.. |
| 151 | 151 |
| 152 Test for derived dictionary | 152 Test for derived dictionary |
| 153 PASS derived.longMember is undefined. | 153 PASS derived.longMember is undefined. |
| 154 PASS derived.longMemberWithDefault is 42 | 154 PASS derived.longMemberWithDefault is 42 |
| 155 PASS derived.longOrNullMember is null | 155 PASS derived.longOrNullMember is null |
| 156 PASS derived.longOrNullMemberWithDefault is null | 156 PASS derived.longOrNullMemberWithDefault is null |
| 157 PASS derived.booleanMember is undefined. | 157 PASS derived.booleanMember is undefined. |
| 158 PASS derived.doubleMember is undefined. | 158 PASS derived.doubleMember is undefined. |
| 159 PASS derived.stringMember is undefined. | 159 PASS derived.stringMember is undefined. |
| 160 PASS derived.stringMemberWithDefault is "defaultStringValue" | 160 PASS derived.stringMemberWithDefault is "defaultStringValue" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 185 PASS derived.derivedDerivedStringMember is "modifiedString2" | 185 PASS derived.derivedDerivedStringMember is "modifiedString2" |
| 186 PASS derived.requiredBooleanMember is false | 186 PASS derived.requiredBooleanMember is false |
| 187 | 187 |
| 188 Test for passing invalid values as derived dictionary | 188 Test for passing invalid values as derived dictionary |
| 189 PASS dictionaryTest.setDerived({objectMember: 42, requiredBooleanMember: false }
) threw exception TypeError: Failed to execute 'setDerived' on 'DictionaryTest':
member objectMember is not an object.. | 189 PASS dictionaryTest.setDerived({objectMember: 42, requiredBooleanMember: false }
) threw exception TypeError: Failed to execute 'setDerived' on 'DictionaryTest':
member objectMember is not an object.. |
| 190 PASS dictionaryTest.setDerived({}) threw exception TypeError: Failed to execute
'setDerived' on 'DictionaryTest': required member requiredBooleanMember is undef
ined.. | 190 PASS dictionaryTest.setDerived({}) threw exception TypeError: Failed to execute
'setDerived' on 'DictionaryTest': required member requiredBooleanMember is undef
ined.. |
| 191 PASS successfullyParsed is true | 191 PASS successfullyParsed is true |
| 192 | 192 |
| 193 TEST COMPLETE | 193 TEST COMPLETE |
| 194 | 194 |
| OLD | NEW |