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

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

Issue 724733002: Support for [Clamp] and [EnforceRange] to IDL dictionary. (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 [Clamp] and [EnforceRange] member
81 PASS dict.longMember is -2147483648
82 PASS dict.longMemberWithClamp is 2147483647
83 PASS dictionaryTest.set({ longMemberWithEnforceRange: 2147483648 }) threw except ion TypeError: Failed to execute 'set' on 'DictionaryTest': Value is outside the 'long' value range..
84
80 Test for derived dictionary 85 Test for derived dictionary
81 PASS derived.longMember is undefined. 86 PASS derived.longMember is undefined.
82 PASS derived.longMemberWithDefault is 42 87 PASS derived.longMemberWithDefault is 42
83 PASS derived.longOrNullMember is undefined. 88 PASS derived.longOrNullMember is undefined.
84 PASS derived.longOrNullMemberWithDefault is null 89 PASS derived.longOrNullMemberWithDefault is null
85 PASS derived.booleanMember is undefined. 90 PASS derived.booleanMember is undefined.
86 PASS derived.doubleMember is undefined. 91 PASS derived.doubleMember is undefined.
87 PASS derived.stringMember is undefined. 92 PASS derived.stringMember is undefined.
88 PASS derived.stringMemberWithDefault is "defaultStringValue" 93 PASS derived.stringMemberWithDefault is "defaultStringValue"
89 PASS derived.stringSequenceMember is undefined. 94 PASS derived.stringSequenceMember is undefined.
(...skipping 12 matching lines...) Expand all
102 PASS derived.stringMemberWithDefault is "modifiedString" 107 PASS derived.stringMemberWithDefault is "modifiedString"
103 PASS derived.derivedStringMember is "modifiedString2" 108 PASS derived.derivedStringMember is "modifiedString2"
104 PASS derived.derivedStringMemberWithDefault is "modifiedString3" 109 PASS derived.derivedStringMemberWithDefault is "modifiedString3"
105 PASS derived.invalidMember is undefined. 110 PASS derived.invalidMember is undefined.
106 111
107 PASS dictionaryTest.setDerived({objectMember: 42}) threw exception TypeError: Fa iled to execute 'setDerived' on 'DictionaryTest': member objectMember is not an object.. 112 PASS dictionaryTest.setDerived({objectMember: 42}) threw exception TypeError: Fa iled to execute 'setDerived' on 'DictionaryTest': member objectMember is not an object..
108 PASS successfullyParsed is true 113 PASS successfullyParsed is true
109 114
110 TEST COMPLETE 115 TEST COMPLETE
111 116
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/v8_dictionary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698