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

Side by Side Diff: LayoutTests/fast/js/script-tests/regexp-look-ahead-empty.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 'Test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=42 664">Yarr Interpreter is hanging in some cases of look-ahead regex patterns</a>. It also tests some other related expressions.'
3 );
4
5 shouldBe('/(?:(?=x))+/.exec("x")', '[""]');
6 shouldBe('/(?:a?)*/.exec("a")', '["a"]');
7 shouldBe('/(a|ab)*/.exec("abab")', '["a","a"]');
8 shouldBe('/(ab)+/.exec("abab")', '["abab","ab"]');
9 // The following tests fail because of pcre interpreter bug(s).
10 shouldBe('/(|ab)*/.exec("ab")', '["ab","ab"]');
11 shouldBe('/(?:(|ab)*)/.exec("ab")', '["ab","ab"]');
12 shouldBe('/(?:(|ab)+)/.exec("ab")', '["ab","ab"]');
13 shouldBe('/(|ab)+/.exec("abab")', '["abab","ab"]');
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/script-tests/regexp-look-ahead.js ('k') | LayoutTests/fast/js/script-tests/regexp-no-extensions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698