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

Unified Diff: src/array.js

Issue 100335: Fix http://code.google.com/p/chromium/issues/detail?id=1717... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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 | « no previous file | src/date-delay.js » ('j') | test/mjsunit/undeletable-functions.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/array.js
===================================================================
--- src/array.js (revision 1832)
+++ src/array.js (working copy)
@@ -1011,9 +1011,10 @@
// object.
%SetProperty($Array.prototype, "constructor", $Array, DONT_ENUM);
- // Setup non-enumerable functions of the Array.prototype object and
- // set their names.
- InstallFunctions($Array.prototype, DONT_ENUM, $Array(
+ // Setup non-enumerable functions of the Array.prototype object and set their
+ // names. Use DONT_DELETE due to
+ // http://code.google.com/p/chromium/issues/detail?id=1717
+ InstallFunctions($Array.prototype, DONT_ENUM | DONT_DELETE, $Array(
"toString", ArrayToString,
"toLocaleString", ArrayToLocaleString,
"join", ArrayJoin,
« no previous file with comments | « no previous file | src/date-delay.js » ('j') | test/mjsunit/undeletable-functions.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698