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

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

Issue 309553002: Add ByteString support to IDL bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 converter.testEnforceRangeUnsignedShort = '' 1011 converter.testEnforceRangeUnsignedShort = ''
1012 PASS converter.testEnforceRangeUnsignedShort is 0 1012 PASS converter.testEnforceRangeUnsignedShort is 0
1013 converter.testEnforceRangeUnsignedShort = '1' 1013 converter.testEnforceRangeUnsignedShort = '1'
1014 PASS converter.testEnforceRangeUnsignedShort is 1 1014 PASS converter.testEnforceRangeUnsignedShort is 1
1015 PASS converter.testEnforceRangeUnsignedShort = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is not of type 'unsigned short'.. 1015 PASS converter.testEnforceRangeUnsignedShort = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is not of type 'unsigned short'..
1016 converter.testEnforceRangeUnsignedShort = null 1016 converter.testEnforceRangeUnsignedShort = null
1017 PASS converter.testEnforceRangeUnsignedShort is 0 1017 PASS converter.testEnforceRangeUnsignedShort is 0
1018 PASS converter.testEnforceRangeUnsignedShort = undefined threw exception TypeErr or: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversio ns': Value is not of type 'unsigned short'.. 1018 PASS converter.testEnforceRangeUnsignedShort = undefined threw exception TypeErr or: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversio ns': Value is not of type 'unsigned short'..
1019 PASS converter.testEnforceRangeUnsignedShort = {valueOf:function(){throw new Err or('custom');}} threw exception Error: custom. 1019 PASS converter.testEnforceRangeUnsignedShort = {valueOf:function(){throw new Err or('custom');}} threw exception Error: custom.
1020 1020
1021 converter.testByteString = '!@#123ABCabc\x00\x80\xFF\r\n\t'
1022 PASS converter.testByteString is "!@#123ABCabc\u0000€ÿ\r\n\t"
1023 PASS converter.testByteString = '\u0100' threw exception TypeError: Failed to se t the 'testByteString' property on 'TypeConversions': Value is not a valid ByteS tring..
1024 PASS converter.testByteString is "!@#123ABCabc\u0000€ÿ\r\n\t"
1021 PASS successfullyParsed is true 1025 PASS successfullyParsed is true
1022 1026
1023 TEST COMPLETE 1027 TEST COMPLETE
1024 1028
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698