On 2014/01/17 06:57:31, Dmitry Lomov (chromium) wrote:
On 2014/01/16 16:04:53, Michael Starzinger wrote:
> Andreas has a strong opinion about this poison pill. So I defer to his
judgement
> about the CL.
Here are my thoughts:
The blessed way to change a prototype of an object in ES6 is
Reflect.setPrototypeOf. __proto__ setter is buried there in Appendix B for
backward compatibility reasons.
However if we unpoison __proto__ setter without shipping
Reflect.setPrototypeOf,
__proto__ setter is what the Internet will use.
Therefore we should only unpoison __proto__ setter after we have shipped
Reflect.setPrototypeOf.
Object.setPrototypeOf
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.setprototypeof
This one is trivial and we already have a pending patch for it.
https://code.google.com/p/v8/issues/detail?id=2675&q=setPrototypeOf&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Area%20Stars
I'm happy to take care of that but this one needs to come first.
https://codereview.chromium.org/103343005/
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.