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

Unified Diff: test/mjsunit/regress/regress-585775.js

Issue 2577653002: [regexp] Let RegExp.prototype.compile return this (Closed)
Patch Set: Created 4 years 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/builtins/builtins-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/regress/regress-585775.js
diff --git a/test/mjsunit/regress/regress-585775.js b/test/mjsunit/regress/regress-585775.js
index 8e4346c13761cccdccf99863cb213c04bb3c4bf3..1805b9e7392df06d44e59c08e4929b61afcf6e04 100644
--- a/test/mjsunit/regress/regress-585775.js
+++ b/test/mjsunit/regress/regress-585775.js
@@ -3,4 +3,4 @@
// found in the LICENSE file.
var pattern = /foo/;
-assertEquals(undefined, pattern.compile(pattern));
+assertEquals(pattern, pattern.compile(pattern));
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698