Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Side by Side Diff: LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt

Issue 740453004: IDL: Basic dictionary inheritance support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a valid enum value.. 70 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a valid enum value..
71 71
72 Test for setting invalid object value 72 Test for setting invalid object value
73 PASS dictionaryTest.set({objectMember: 42}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member objectMember is not an object.. 73 PASS dictionaryTest.set({objectMember: 42}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member objectMember is not an object..
74 PASS dictionaryTest.set({objectMember: 'invalid'}) threw exception TypeError: Fa iled to execute 'set' on 'DictionaryTest': member objectMember is not an object. . 74 PASS dictionaryTest.set({objectMember: 'invalid'}) threw exception TypeError: Fa iled to execute 'set' on 'DictionaryTest': member objectMember is not an object. .
75 75
76 Test for passing invalid dictionary values 76 Test for passing invalid dictionary values
77 PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' o n 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. 77 PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' o n 'DictionaryTest': parameter 1 ('testingDictionary') is not an object..
78 PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute ' set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. 78 PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute ' set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object..
79 79
80 Test for derived dictionary
81 PASS derived.longMember is undefined.
82 PASS derived.longMemberWithDefault is 42
83 PASS derived.longOrNullMember is undefined.
84 PASS derived.longOrNullMemberWithDefault is null
85 PASS derived.booleanMember is undefined.
86 PASS derived.doubleMember is undefined.
87 PASS derived.stringMember is undefined.
88 PASS derived.stringMemberWithDefault is "defaultStringValue"
89 PASS derived.stringSequenceMember is undefined.
90 PASS derived.stringSequenceOrNullMember is undefined.
91 PASS derived.elementMember is undefined.
92 PASS derived.elementOrNullMember is undefined.
93 PASS derived.enumMember is undefined.
94 PASS derived.enumMemberWithDefault is "foo"
95 PASS derived.enumOrNullMember is undefined.
96 PASS derived.objectMember is undefined.
97 PASS derived.objectOrNullMemberWithDefault is null
98 PASS derived.derivedStringMember is undefined.
99 PASS derived.derivedStringMemberWithDefault is "derivedDefaultStringValue"
100
101 PASS derived.longMember is 1
102 PASS derived.stringMemberWithDefault is "modifiedString"
103 PASS derived.derivedStringMember is "modifiedString2"
104 PASS derived.derivedStringMemberWithDefault is "modifiedString3"
105 PASS derived.invalidMember is undefined.
106
107 PASS dictionaryTest.setDerived({objectMember: 42}) threw exception TypeError: Fa iled to execute 'setDerived' on 'DictionaryTest': member objectMember is not an object..
80 PASS successfullyParsed is true 108 PASS successfullyParsed is true
81 109
82 TEST COMPLETE 110 TEST COMPLETE
83 111
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698