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

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

Issue 568703002: IDL: Values for dictionaries should be a object, null or undefined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/v8_methods.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698