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

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] member
81 PASS dict.longMember is -2147483648
82 PASS dict.longMemberWithClamp is 2147483647
83
80 PASS successfullyParsed is true 84 PASS successfullyParsed is true
81 85
82 TEST COMPLETE 86 TEST COMPLETE
83 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698