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

Unified Diff: test/mjsunit/override-eval-with-non-function.js

Issue 6930006: Make RegExp objects not callable. (Closed)
Patch Set: Updated mozilla and sputnik test expectations Created 9 years, 7 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: test/mjsunit/override-eval-with-non-function.js
diff --git a/test/mjsunit/override-eval-with-non-function.js b/test/mjsunit/override-eval-with-non-function.js
index edbcb19fb7fa7ed3e9bf9a5fc8832a1b0f119f5a..37bcfd1230572270d1de3f658fa4c64245aadb00 100644
--- a/test/mjsunit/override-eval-with-non-function.js
+++ b/test/mjsunit/override-eval-with-non-function.js
@@ -33,4 +33,6 @@ function test() {
assertEquals(["foo"], eval("foobar"));
}
-test();
+// RegExps are no longer callable, so we don't have a callable
Mads Ager (chromium) 2011/05/25 13:11:17 Please just delete the test. Having a test that do
Lasse Reichstein 2011/05/26 07:34:21 Done.
+// value that isn't a function.
+// test();

Powered by Google App Engine
This is Rietveld 408576698