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

Unified Diff: test/mjsunit/regress/regress-builtin-array-op.js

Issue 11175007: Always invoke the default Array.sort functions from builtin functions, part 2. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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/array.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-builtin-array-op.js
diff --git a/test/mjsunit/regress/regress-builtin-array-op.js b/test/mjsunit/regress/regress-builtin-array-op.js
index 2ea84d3ede40ae129ae2c5c4859745bc7d01df02..b1ee7cce7d663f7040de00a9d5e8d1b5e6830df6 100644
--- a/test/mjsunit/regress/regress-builtin-array-op.js
+++ b/test/mjsunit/regress/regress-builtin-array-op.js
@@ -30,6 +30,7 @@
var foo = "hest";
Array.prototype.sort = function(fn) { foo = "fisk"; }
+Function.prototype.call = function() { foo = "caramel"}
var a = [2,3,1];
a[100000] = 0;
a.join();
« no previous file with comments | « src/array.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698