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

Unified Diff: LayoutTests/fast/js/script-tests/regexp-no-extensions.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/script-tests/regexp-no-extensions.js
diff --git a/LayoutTests/fast/js/script-tests/regexp-no-extensions.js b/LayoutTests/fast/js/script-tests/regexp-no-extensions.js
deleted file mode 100644
index dee2776e327cc0239dfbb472038e871ec4d3e689..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/regexp-no-extensions.js
+++ /dev/null
@@ -1,46 +0,0 @@
-description(
-'Tests that regular expressions do not have extensions that diverge from the JavaScript specification. '
-+ 'Because WebKit originally used a copy of PCRE, various non-JavaScript regular expression features were historically present. '
-+ 'Also tests various related edge cases.'
-);
-
-shouldBe('/\\x{41}/.exec("yA1")', 'null');
-shouldBe('/[\\x{41}]/.exec("yA1").toString()', '"1"');
-shouldBe('/\\x1g/.exec("x1g").toString()', '"x1g"');
-shouldBe('/[\\x1g]/.exec("x").toString()', '"x"');
-shouldBe('/[\\x1g]/.exec("1").toString()', '"1"');
-shouldBe('/\\2147483648/.exec(String.fromCharCode(140) + "7483648").toString()', 'String.fromCharCode(140) + "7483648"');
-shouldBe('/\\4294967296/.exec("\\"94967296").toString()', '"\\"94967296"');
-shouldBe('/\\8589934592/.exec("\\\\8589934592").toString()', '"\\\\8589934592"');
-shouldBe('"\\nAbc\\n".replace(/(\\n)[^\\n]+$/, "$1")', '"\\nAbc\\n"');
-shouldBe('/x$/.exec("x\\n")', 'null');
-shouldThrow('/x++/');
-shouldBe('/[]]/.exec("]")', 'null');
-
-debug('');
-debug('Octal escape sequences are in Annex B of the standard.');
-debug('');
-
-shouldBe('/\\060/.exec("y01").toString()', '"0"');
-shouldBe('/[\\060]/.exec("y01").toString()', '"0"');
-shouldBe('/\\606/.exec("y06").toString()', '"06"');
-shouldBe('/[\\606]/.exec("y06").toString()', '"0"');
-shouldBe('/[\\606]/.exec("y6").toString()', '"6"');
-shouldBe('/\\101/.exec("yA1").toString()', '"A"');
-shouldBe('/[\\101]/.exec("yA1").toString()', '"A"');
-shouldBe('/\\1011/.exec("yA1").toString()', '"A1"');
-shouldBe('/[\\1011]/.exec("yA1").toString()', '"A"');
-shouldBe('/[\\1011]/.exec("y1").toString()', '"1"');
-shouldBe('/\\10q/.exec("y" + String.fromCharCode(8) + "q").toString()', 'String.fromCharCode(8) + "q"');
-shouldBe('/[\\10q]/.exec("y" + String.fromCharCode(8) + "q").toString()', 'String.fromCharCode(8)');
-shouldBe('/\\1q/.exec("y" + String.fromCharCode(1) + "q").toString()', 'String.fromCharCode(1) + "q"');
-shouldBe('/[\\1q]/.exec("y" + String.fromCharCode(1) + "q").toString()', 'String.fromCharCode(1)');
-shouldBe('/[\\1q]/.exec("yq").toString()', '"q"');
-shouldBe('/\\8q/.exec("\\\\8q").toString()', '"\\\\8q"');
-shouldBe('/[\\8q]/.exec("y8q").toString()', '"8"');
-shouldBe('/[\\8q]/.exec("yq").toString()', '"q"');
-shouldBe('/(x)\\1q/.exec("xxq").toString()', '"xxq,x"');
-shouldBe('/(x)[\\1q]/.exec("xxq").toString()', '"xq,x"');
-shouldBe('/(x)[\\1q]/.exec("xx" + String.fromCharCode(1)).toString()', '"x" + String.fromCharCode(1) + ",x"');
-
-debug('');

Powered by Google App Engine
This is Rietveld 408576698