Status: Accepted
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-High

New issue 485 by [email protected]: Function.prototype.call leaks builtins  
object.
http://code.google.com/p/v8/issues/detail?id=485

Using Function.prototype.call on a builtin function uses the builtin object
as "this" for the call. If the builtin function exposes "this", it can be
accessed from user code. At least one function actually returns "this":

var builtins = Object.prototype.valueOf.call();
alert(builtins);  // [object builtins]


(See also
http://groups.google.com/group/comp.lang.javascript/msg/81b97c2778099945?
dmode=source )

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to