On 13 March 2013 15:49, Michael Schwartz <[email protected]> wrote:
> On Mar 13, 2013, at 7:27 AM, Andreas Rossberg <[email protected]> wrote:
>>
>> On 13 March 2013 14:56, Michael Schwartz <[email protected]> wrote:
>>
>>> Can Harmony Proxies be used to detect when the prototypes or builtins are
>>> being overridden?
>>>
>>> If so, you could save the original and provide a new API to fetch the
>>> original.
>
>> I don't see how proxies help here. Saving the originals certainly doesn't
>> require proxies (nor private symbols).
>
> A proxy would be able to detect Array.prototype.forEach is being stored to.
>
> A proxy on window would be able to detect JSON being stored to.
>
> A proxy on document would be able to detect createElement being stored to.

Yes, but so what? What is needed is access to the original
definitions, not the information that they are no longer accessible
through their normal path.

/Andreas

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to