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

Unified Diff: test/mjsunit/harmony/unicode-regexp-restricted-syntax.js

Issue 1648673002: Revert of [regexp] restrict pattern syntax for unicode mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@stage
Patch Set: Created 4 years, 11 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
« no previous file with comments | « src/regexp/regexp-parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/unicode-regexp-restricted-syntax.js
diff --git a/test/mjsunit/harmony/unicode-regexp-restricted-syntax.js b/test/mjsunit/harmony/unicode-regexp-restricted-syntax.js
deleted file mode 100644
index 8c2de8dfa6f0483d4f33c9fddf855238898e508e..0000000000000000000000000000000000000000
--- a/test/mjsunit/harmony/unicode-regexp-restricted-syntax.js
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --harmony-unicode-regexps
-
-// test262/data/test/language/literals/regexp/u-dec-esc
-assertThrows("/\\1/u");
-// test262/language/literals/regexp/u-invalid-char-range-a
-assertThrows("/[\\w-a]/u");
-// test262/language/literals/regexp/u-invalid-char-range-b
-assertThrows("/[a-\\w]/u");
-// test262/language/literals/regexp/u-invalid-char-esc
-assertThrows("/\\c/u");
-assertThrows("/\\c0/u");
-// test262/built-ins/RegExp/unicode_restricted_quantifiable_assertion
-assertThrows("/(?=.)*/u");
-// test262/built-ins/RegExp/unicode_restricted_octal_escape
-assertThrows("/[\\1]/u");
-assertThrows("/\\00/u");
-assertThrows("/\\09/u");
-// test262/built-ins/RegExp/unicode_restricted_identity_escape_alpha
-assertThrows("/[\\c]/u");
-// test262/built-ins/RegExp/unicode_restricted_identity_escape_c
-assertThrows("/[\\c0]/u");
-// test262/built-ins/RegExp/unicode_restricted_incomple_quantifier
-assertThrows("/a{/u");
-assertThrows("/a{1,/u");
-assertThrows("/{/u");
-assertThrows("/}/u");
-// test262/data/test/built-ins/RegExp/unicode_restricted_brackets
-assertThrows("/]/u");
-// test262/built-ins/RegExp/unicode_identity_escape
-/\//u;
« no previous file with comments | « src/regexp/regexp-parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698