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

Side by Side Diff: LayoutTests/fast/js/webidl-type-mapping-expected.txt

Issue 313993002: Bindings: Add ScalarValueString support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedback Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/js/webidl-type-mapping.html ('k') | Source/bindings/scripts/idl_types.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Exercise WebIDL type conversions. 1 Exercise WebIDL type conversions.
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 converter = window.internals.typeConversions() 6 converter = window.internals.typeConversions()
7 7
8 converter.testLong = 0 8 converter.testLong = 0
9 PASS converter.testLong is 0 9 PASS converter.testLong is 0
10 converter.testLong = -0 10 converter.testLong = -0
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 PASS converter.setTestByteStringDefaultNull('abc') did not throw exception. 1051 PASS converter.setTestByteStringDefaultNull('abc') did not throw exception.
1052 PASS converter.setTestByteString('\u0100') threw exception TypeError: Failed to execute 'setTestByteString' on 'TypeConversions': Value is not a valid ByteStrin g.. 1052 PASS converter.setTestByteString('\u0100') threw exception TypeError: Failed to execute 'setTestByteString' on 'TypeConversions': Value is not a valid ByteStrin g..
1053 PASS converter.setTestByteStringDefaultNull('\u0100') threw exception TypeError: Failed to execute 'setTestByteStringDefaultNull' on 'TypeConversions': Value is not a valid ByteString.. 1053 PASS converter.setTestByteStringDefaultNull('\u0100') threw exception TypeError: Failed to execute 'setTestByteStringDefaultNull' on 'TypeConversions': Value is not a valid ByteString..
1054 PASS converter.setTestByteString() threw exception TypeError: Failed to execute 'setTestByteString' on 'TypeConversions': 1 argument required, but only 0 presen t.. 1054 PASS converter.setTestByteString() threw exception TypeError: Failed to execute 'setTestByteString' on 'TypeConversions': 1 argument required, but only 0 presen t..
1055 PASS converter.setTestByteStringDefaultNull() did not throw exception. 1055 PASS converter.setTestByteStringDefaultNull() did not throw exception.
1056 PASS converter.testByteString is "" 1056 PASS converter.testByteString is ""
1057 PASS converter.testByteStringTreatReturnedNullStringAsNullAttribute is null 1057 PASS converter.testByteStringTreatReturnedNullStringAsNullAttribute is null
1058 PASS converter.testByteStringTreatReturnedNullStringAsUndefinedAttribute is unde fined. 1058 PASS converter.testByteStringTreatReturnedNullStringAsUndefinedAttribute is unde fined.
1059 PASS converter.getTestByteStringTreatReturnedNullStringAsNullMethod() is null 1059 PASS converter.getTestByteStringTreatReturnedNullStringAsNullMethod() is null
1060 PASS converter.getTestByteStringTreatReturnedNullStringAsUndefinedMethod() is un defined. 1060 PASS converter.getTestByteStringTreatReturnedNullStringAsUndefinedMethod() is un defined.
1061 converter.testScalarValueString = '!@#123ABCabc\x00\x80\xFF\r\n\t'
1062 PASS converter.testScalarValueString is "!@#123ABCabc\u0000€ÿ\r\n\t"
1063 converter.testScalarValueString = '\u0100'
1064 PASS converter.testScalarValueString is "Ā"
1065 PASS converter.testScalarValueString = {toString: function() { throw Error(); }} threw exception Error.
1066 PASS converter.testScalarValueString is "Ā"
1067 converter.testScalarValueString = "���"
1068 PASS converter.testScalarValueString is "�"
1069 converter.testScalarValueString = "���"
1070 PASS converter.testScalarValueString is "�"
1071 converter.testScalarValueString = "���\u0000"
1072 PASS converter.testScalarValueString is "�\u0000"
1073 converter.testScalarValueString = "���\u0000"
1074 PASS converter.testScalarValueString is "�\u0000"
1075 converter.testScalarValueString = "������"
1076 PASS converter.testScalarValueString is "��"
1077 converter.testScalarValueString = "𝄞"
1078 PASS converter.testScalarValueString is "𝄞"
1079 converter.testScalarValueString = true
1080 PASS converter.testScalarValueString is "true"
1081 converter.testScalarValueString = 123
1082 PASS converter.testScalarValueString is "123"
1083 converter.testScalarValueString = null
1084 PASS converter.testScalarValueString is "null"
1085 converter.testScalarValueString = undefined
1086 PASS converter.testScalarValueString is "undefined"
1087 PASS converter.setTestScalarValueString('abc') did not throw exception.
1088 PASS converter.setTestScalarValueStringDefaultNull('abc') did not throw exceptio n.
1089 PASS converter.setTestScalarValueString('\u0100') did not throw exception.
1090 PASS converter.setTestScalarValueStringDefaultNull('\u0100') did not throw excep tion.
1091 PASS converter.setTestScalarValueString() threw exception TypeError: Failed to e xecute 'setTestScalarValueString' on 'TypeConversions': 1 argument required, but only 0 present..
1092 PASS converter.setTestScalarValueStringDefaultNull() did not throw exception.
1093 PASS converter.testScalarValueString is ""
1061 PASS successfullyParsed is true 1094 PASS successfullyParsed is true
1062 1095
1063 TEST COMPLETE 1096 TEST COMPLETE
1064 1097
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/webidl-type-mapping.html ('k') | Source/bindings/scripts/idl_types.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698