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

Side by Side Diff: test/webkit/ToNumber.js

Issue 2331303002: Use ICU for ID_START and ID_CONTINUE for Unicode 9 data (Closed)
Patch Set: drop an unnecessary todo Created 3 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
« no previous file with comments | « test/unittests/char-predicates-unittest.cc ('k') | test/webkit/ToNumber-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 1. Redistributions of source code must retain the above copyright 7 // 1. Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // 2. Redistributions in binary form must reproduce the above copyright 9 // 2. Redistributions in binary form must reproduce the above copyright
10 // notice, this list of conditions and the following disclaimer in the 10 // notice, this list of conditions and the following disclaimer in the
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 shouldBe("+'1E1'", "10"); 98 shouldBe("+'1E1'", "10");
99 shouldBe("+tab", "0"); 99 shouldBe("+tab", "0");
100 shouldBe("+nbsp", "0"); 100 shouldBe("+nbsp", "0");
101 shouldBe("+ff", "0"); 101 shouldBe("+ff", "0");
102 shouldBe("+vt", "0"); 102 shouldBe("+vt", "0");
103 shouldBe("+cr", "0"); 103 shouldBe("+cr", "0");
104 shouldBe("+lf", "0"); 104 shouldBe("+lf", "0");
105 shouldBe("+ls", "0"); 105 shouldBe("+ls", "0");
106 shouldBe("+ps", "0"); 106 shouldBe("+ps", "0");
107 shouldBe("+oghamSpaceMark", "0"); 107 shouldBe("+oghamSpaceMark", "0");
108 shouldBe("+mongolianVowelSeparator", "0"); 108 shouldBe("+mongolianVowelSeparator", "NaN");
109 shouldBe("+enQuad", "0"); 109 shouldBe("+enQuad", "0");
110 shouldBe("+emQuad", "0"); 110 shouldBe("+emQuad", "0");
111 shouldBe("+enSpace", "0"); 111 shouldBe("+enSpace", "0");
112 shouldBe("+emSpace", "0"); 112 shouldBe("+emSpace", "0");
113 shouldBe("+threePerEmSpace", "0"); 113 shouldBe("+threePerEmSpace", "0");
114 shouldBe("+fourPerEmSpace", "0"); 114 shouldBe("+fourPerEmSpace", "0");
115 shouldBe("+sixPerEmSpace", "0"); 115 shouldBe("+sixPerEmSpace", "0");
116 shouldBe("+figureSpace", "0"); 116 shouldBe("+figureSpace", "0");
117 shouldBe("+punctuationSpace", "0"); 117 shouldBe("+punctuationSpace", "0");
118 shouldBe("+thinSpace", "0"); 118 shouldBe("+thinSpace", "0");
119 shouldBe("+hairSpace", "0"); 119 shouldBe("+hairSpace", "0");
120 shouldBe("+narrowNoBreakSpace", "0"); 120 shouldBe("+narrowNoBreakSpace", "0");
121 shouldBe("+mediumMathematicalSpace", "0"); 121 shouldBe("+mediumMathematicalSpace", "0");
122 shouldBe("+ideographicSpace", "0"); 122 shouldBe("+ideographicSpace", "0");
123 shouldBe("+(tab + '1')", "1"); 123 shouldBe("+(tab + '1')", "1");
124 shouldBe("+(nbsp + '1')", "1"); 124 shouldBe("+(nbsp + '1')", "1");
125 shouldBe("+(ff + '1')", "1"); 125 shouldBe("+(ff + '1')", "1");
126 shouldBe("+(vt + '1')", "1"); 126 shouldBe("+(vt + '1')", "1");
127 shouldBe("+(cr + '1')", "1"); 127 shouldBe("+(cr + '1')", "1");
128 shouldBe("+(lf + '1')", "1"); 128 shouldBe("+(lf + '1')", "1");
129 shouldBe("+(ls + '1')", "1"); 129 shouldBe("+(ls + '1')", "1");
130 shouldBe("+(ps + '1')", "1"); 130 shouldBe("+(ps + '1')", "1");
131 shouldBe("+(oghamSpaceMark + '1')", "1"); 131 shouldBe("+(oghamSpaceMark + '1')", "1");
132 shouldBe("+(mongolianVowelSeparator + '1')", "1"); 132 shouldBe("+(mongolianVowelSeparator + '1')", "NaN");
133 shouldBe("+(enQuad + '1')", "1"); 133 shouldBe("+(enQuad + '1')", "1");
134 shouldBe("+(emQuad + '1')", "1"); 134 shouldBe("+(emQuad + '1')", "1");
135 shouldBe("+(enSpace + '1')", "1"); 135 shouldBe("+(enSpace + '1')", "1");
136 shouldBe("+(emSpace + '1')", "1"); 136 shouldBe("+(emSpace + '1')", "1");
137 shouldBe("+(threePerEmSpace + '1')", "1"); 137 shouldBe("+(threePerEmSpace + '1')", "1");
138 shouldBe("+(fourPerEmSpace + '1')", "1"); 138 shouldBe("+(fourPerEmSpace + '1')", "1");
139 shouldBe("+(sixPerEmSpace + '1')", "1"); 139 shouldBe("+(sixPerEmSpace + '1')", "1");
140 shouldBe("+(figureSpace + '1')", "1"); 140 shouldBe("+(figureSpace + '1')", "1");
141 shouldBe("+(punctuationSpace + '1')", "1"); 141 shouldBe("+(punctuationSpace + '1')", "1");
142 shouldBe("+(thinSpace + '1')", "1"); 142 shouldBe("+(thinSpace + '1')", "1");
143 shouldBe("+(hairSpace + '1')", "1"); 143 shouldBe("+(hairSpace + '1')", "1");
144 shouldBe("+(narrowNoBreakSpace + '1')", "1"); 144 shouldBe("+(narrowNoBreakSpace + '1')", "1");
145 shouldBe("+(mediumMathematicalSpace + '1')", "1"); 145 shouldBe("+(mediumMathematicalSpace + '1')", "1");
146 shouldBe("+(ideographicSpace + '1')", "1"); 146 shouldBe("+(ideographicSpace + '1')", "1");
147 shouldBe("+('1' + tab)", "1"); 147 shouldBe("+('1' + tab)", "1");
148 shouldBe("+('1' + nbsp)", "1"); 148 shouldBe("+('1' + nbsp)", "1");
149 shouldBe("+('1' + ff)", "1"); 149 shouldBe("+('1' + ff)", "1");
150 shouldBe("+('1' + vt)", "1"); 150 shouldBe("+('1' + vt)", "1");
151 shouldBe("+('1' + cr)", "1"); 151 shouldBe("+('1' + cr)", "1");
152 shouldBe("+('1' + lf)", "1"); 152 shouldBe("+('1' + lf)", "1");
153 shouldBe("+('1' + ls)", "1"); 153 shouldBe("+('1' + ls)", "1");
154 shouldBe("+('1' + ps)", "1"); 154 shouldBe("+('1' + ps)", "1");
155 shouldBe("+('1' + oghamSpaceMark)", "1"); 155 shouldBe("+('1' + oghamSpaceMark)", "1");
156 shouldBe("+('1' + mongolianVowelSeparator)", "1"); 156 shouldBe("+('1' + mongolianVowelSeparator)", "NaN");
157 shouldBe("+('1' + enQuad)", "1"); 157 shouldBe("+('1' + enQuad)", "1");
158 shouldBe("+('1' + emQuad)", "1"); 158 shouldBe("+('1' + emQuad)", "1");
159 shouldBe("+('1' + enSpace)", "1"); 159 shouldBe("+('1' + enSpace)", "1");
160 shouldBe("+('1' + emSpace)", "1"); 160 shouldBe("+('1' + emSpace)", "1");
161 shouldBe("+('1' + threePerEmSpace)", "1"); 161 shouldBe("+('1' + threePerEmSpace)", "1");
162 shouldBe("+('1' + fourPerEmSpace)", "1"); 162 shouldBe("+('1' + fourPerEmSpace)", "1");
163 shouldBe("+('1' + sixPerEmSpace)", "1"); 163 shouldBe("+('1' + sixPerEmSpace)", "1");
164 shouldBe("+('1' + figureSpace)", "1"); 164 shouldBe("+('1' + figureSpace)", "1");
165 shouldBe("+('1' + punctuationSpace)", "1"); 165 shouldBe("+('1' + punctuationSpace)", "1");
166 shouldBe("+('1' + thinSpace)", "1"); 166 shouldBe("+('1' + thinSpace)", "1");
(...skipping 18 matching lines...) Expand all
185 shouldBe("+('1' + threePerEmSpace + '1')", "NaN"); 185 shouldBe("+('1' + threePerEmSpace + '1')", "NaN");
186 shouldBe("+('1' + fourPerEmSpace + '1')", "NaN"); 186 shouldBe("+('1' + fourPerEmSpace + '1')", "NaN");
187 shouldBe("+('1' + sixPerEmSpace + '1')", "NaN"); 187 shouldBe("+('1' + sixPerEmSpace + '1')", "NaN");
188 shouldBe("+('1' + figureSpace + '1')", "NaN"); 188 shouldBe("+('1' + figureSpace + '1')", "NaN");
189 shouldBe("+('1' + punctuationSpace + '1')", "NaN"); 189 shouldBe("+('1' + punctuationSpace + '1')", "NaN");
190 shouldBe("+('1' + thinSpace + '1')", "NaN"); 190 shouldBe("+('1' + thinSpace + '1')", "NaN");
191 shouldBe("+('1' + hairSpace + '1')", "NaN"); 191 shouldBe("+('1' + hairSpace + '1')", "NaN");
192 shouldBe("+('1' + narrowNoBreakSpace + '1')", "NaN"); 192 shouldBe("+('1' + narrowNoBreakSpace + '1')", "NaN");
193 shouldBe("+('1' + mediumMathematicalSpace + '1')", "NaN"); 193 shouldBe("+('1' + mediumMathematicalSpace + '1')", "NaN");
194 shouldBe("+('1' + ideographicSpace + '1')", "NaN"); 194 shouldBe("+('1' + ideographicSpace + '1')", "NaN");
OLDNEW
« no previous file with comments | « test/unittests/char-predicates-unittest.cc ('k') | test/webkit/ToNumber-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698