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

Side by Side Diff: LayoutTests/fast/regex/script-tests/overflow.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, 5 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("This test checks expressions with alternative lengths of appox. 2^3 1.");
2
3 var regexp1 = /(?:(?=g))|(?:m).{2147483648,}/;
4 shouldBe("regexp1.exec('')", 'null');
5
6 var regexp2 = /(?:(?=g)).{2147483648,}/;
7 shouldBe("regexp2.exec('')", 'null');
8
9 var s3 = "&{6}u4a64YfQP{C}u88c4u5772Qu8693{4294967167}u85f2u7f3fs((uf202){4})u5b c6u1947";
10 var regexp3 = new RegExp(s3, "");
11 shouldBe("regexp3.exec(s3)", 'null');
12
13 shouldThrow("function f() { /[^a$]{4294967295}/ }", '"SyntaxError: Invalid regul ar expression: number too large in {} quantifier"');
OLDNEW
« no previous file with comments | « LayoutTests/fast/regex/script-tests/non-capturing-backtracking.js ('k') | LayoutTests/fast/regex/script-tests/parentheses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698