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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/webidl-type-mapping-expected.txt
diff --git a/LayoutTests/fast/js/webidl-type-mapping-expected.txt b/LayoutTests/fast/js/webidl-type-mapping-expected.txt
index a009cc1b643b8b5bb308a4de4cb78bab53046333..9094f1f25043fa663fd700a85f092300c8e76a76 100644
--- a/LayoutTests/fast/js/webidl-type-mapping-expected.txt
+++ b/LayoutTests/fast/js/webidl-type-mapping-expected.txt
@@ -1058,6 +1058,39 @@ PASS converter.testByteStringTreatReturnedNullStringAsNullAttribute is null
PASS converter.testByteStringTreatReturnedNullStringAsUndefinedAttribute is undefined.
PASS converter.getTestByteStringTreatReturnedNullStringAsNullMethod() is null
PASS converter.getTestByteStringTreatReturnedNullStringAsUndefinedMethod() is undefined.
+converter.testScalarValueString = '!@#123ABCabc\x00\x80\xFF\r\n\t'
+PASS converter.testScalarValueString is "!@#123ABCabc\u0000€ÿ\r\n\t"
+converter.testScalarValueString = '\u0100'
+PASS converter.testScalarValueString is "Ā"
+PASS converter.testScalarValueString = {toString: function() { throw Error(); }} threw exception Error.
+PASS converter.testScalarValueString is "Ā"
+converter.testScalarValueString = "���"
+PASS converter.testScalarValueString is "�"
+converter.testScalarValueString = "���"
+PASS converter.testScalarValueString is "�"
+converter.testScalarValueString = "���\u0000"
+PASS converter.testScalarValueString is "�\u0000"
+converter.testScalarValueString = "���\u0000"
+PASS converter.testScalarValueString is "�\u0000"
+converter.testScalarValueString = "������"
+PASS converter.testScalarValueString is "��"
+converter.testScalarValueString = "𝄞"
+PASS converter.testScalarValueString is "𝄞"
+converter.testScalarValueString = true
+PASS converter.testScalarValueString is "true"
+converter.testScalarValueString = 123
+PASS converter.testScalarValueString is "123"
+converter.testScalarValueString = null
+PASS converter.testScalarValueString is "null"
+converter.testScalarValueString = undefined
+PASS converter.testScalarValueString is "undefined"
+PASS converter.setTestScalarValueString('abc') did not throw exception.
+PASS converter.setTestScalarValueStringDefaultNull('abc') did not throw exception.
+PASS converter.setTestScalarValueString('\u0100') did not throw exception.
+PASS converter.setTestScalarValueStringDefaultNull('\u0100') did not throw exception.
+PASS converter.setTestScalarValueString() threw exception TypeError: Failed to execute 'setTestScalarValueString' on 'TypeConversions': 1 argument required, but only 0 present..
+PASS converter.setTestScalarValueStringDefaultNull() did not throw exception.
+PASS converter.testScalarValueString is ""
PASS successfullyParsed is true
TEST COMPLETE
« 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