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

Unified Diff: test/mjsunit/third_party/string-trim.js

Issue 11293277: Fix string whitespace trimming of 0x200b and NEL character. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « test/mjsunit/regress/regress-2408.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/third_party/string-trim.js
diff --git a/test/mjsunit/third_party/string-trim.js b/test/mjsunit/third_party/string-trim.js
index 234dff6dcd7608a0dcf0e3c26a7291d92b3a15f5..5170431a483b5ee8af3749db00a5c620767e6aef 100644
--- a/test/mjsunit/third_party/string-trim.js
+++ b/test/mjsunit/third_party/string-trim.js
@@ -63,10 +63,12 @@ var whitespace = [
{s : '\u2008', t : 'PUNCTUATION SPACE'},
{s : '\u2009', t : 'THIN SPACE'},
{s : '\u200A', t : 'HAIR SPACE'},
- {s : '\u3000', t : 'IDEOGRAPHIC SPACE'},
{s : '\u2028', t : 'LINE SEPARATOR'},
{s : '\u2029', t : 'PARAGRAPH SEPARATOR'},
- {s : '\u200B', t : 'ZERO WIDTH SPACE (category Cf)'}
+ {s : '\u202F', t : 'NARROW NO-BREAK SPACE'},
+ {s : '\u205F', t : 'MEDIUM MATHEMATICAL SPACE'},
+ {s : '\u3000', t : 'IDEOGRAPHIC SPACE'},
+ {s : '\uFEFF', t : 'BYTE ORDER MARK'}
];
for (var i = 0; i < whitespace.length; i++) {
« no previous file with comments | « test/mjsunit/regress/regress-2408.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698