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

Unified Diff: test/mjsunit/es6/regexp-flags.js

Issue 2438283002: Revert of [regexp] Use consistent map checks for fast paths (Closed)
Patch Set: Created 4 years, 2 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/runtime/runtime-regexp.cc ('k') | test/test262/test262.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/regexp-flags.js
diff --git a/test/mjsunit/es6/regexp-flags.js b/test/mjsunit/es6/regexp-flags.js
index 9760cf8d5de226375ab77a2308ae632f98cb7131..2bcccfa760509a5be82d6ba8ea1f38a64f0172fb 100644
--- a/test/mjsunit/es6/regexp-flags.js
+++ b/test/mjsunit/es6/regexp-flags.js
@@ -45,12 +45,8 @@
// Overridden flag getters affect string.replace
// TODO(adamk): Add more tests here once we've switched
// to use [[OriginalFlags]] in more cases.
-// TODO(jgruber): This exact case actually causes an infinite loop in the spec
-// (@@replace sees global = true while BuiltinExec sees global = false).
-// Comment the test for now and remove / fix once this has been resolved on
-// the spec side.
-//assertEquals(expected, string.replace(r3, "X"));
-//assertEquals(5, get_count);
+assertEquals(expected, string.replace(r3, "X"));
+assertEquals(5, get_count);
function testName(name) {
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698