[or-cvs] r14390: Probably should be a window.eval. (torbutton/trunk/src/chrome/content)
mikeperry at seul.org
mikeperry at seul.org
Thu Apr 17 19:03:24 UTC 2008
Author: mikeperry
Date: 2008-04-17 15:03:24 -0400 (Thu, 17 Apr 2008)
New Revision: 14390
Modified:
torbutton/trunk/src/chrome/content/jshooks.js
Log:
Probably should be a window.eval.
Modified: torbutton/trunk/src/chrome/content/jshooks.js
===================================================================
--- torbutton/trunk/src/chrome/content/jshooks.js 2008-04-17 18:54:56 UTC (rev 14389)
+++ torbutton/trunk/src/chrome/content/jshooks.js 2008-04-17 19:03:24 UTC (rev 14390)
@@ -268,7 +268,7 @@
*/
// valueOf gets called for implicit string conversion??
- window.Date.prototype = eval(window.Object.prototype.toSource());
+ window.Date.prototype = window.eval(window.Object.prototype.toSource());
return d.toUTCString();
}
More information about the tor-commits
mailing list