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

Side by Side Diff: LayoutTests/fast/js/script-tests/regexp-extended-characters-crash.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 4 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
(Empty)
1 description(
2 'This test checks for a regression against <a href="rdar://problem/4161606">Java Script regular expressions with certain ranges of Unicode characters cause a cra sh</a>. If it fails, it may crash.'
3 );
4
5
6 // test ranges reported in bug
7 shouldBe('new RegExp("[\u00c0-\u1f4d]").toString()', '/[\u00c0-\u1f4d]/.toString ()');
8 shouldBe('new RegExp("[\u3041-\u3094]").toString()', '/[\u3041-\u3094]/.toString ()');
9 shouldBe('new RegExp("[\u4d00-\u4db5]").toString()', '/[\u4d00-\u4db5]/.toString ()');
10 shouldBe('new RegExp("[\u4e00-\u9fa5]").toString()', '/[\u4e00-\u9fa5]/.toString ()');
11
12 // test first char < 255, last char > 255
13 shouldBe('new RegExp("[\u0001-\u1f4d]").toString()', '/[\u0001-\u1f4d]/.toString ()');
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/script-tests/regexp-bol-with-multiline.js ('k') | LayoutTests/fast/js/script-tests/regexp-lastindex.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698