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

Unified Diff: src/math.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
Index: src/math.js
===================================================================
--- src/math.js (revision 1832)
+++ src/math.js (working copy)
@@ -162,9 +162,9 @@
1.4142135623730951,
DONT_ENUM | DONT_DELETE | READ_ONLY);
- // Setup non-enumerable functions of the Math object and
- // set their names.
- InstallFunctions($Math, DONT_ENUM, $Array(
+ // Setup non-enumerable functions of the Math object and set their names. Use
+ // DONT_DELETE due to http://code.google.com/p/chromium/issues/detail?id=1717
+ InstallFunctions($Math, DONT_ENUM | DONT_DELETE, $Array(
"random", MathRandom,
"abs", MathAbs,
"acos", MathAcos,
« no previous file with comments | « src/date-delay.js ('k') | src/string.js » ('j') | test/mjsunit/undeletable-functions.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698