Akos Kiss
e66bb5591d
Implement Object.setPrototypeOf from ES2015 specification ( #1666 )
...
`Object.prototype.__proto__` has been implemented by most JS
engines to give R/W access to prototype chains, well before it made
it into the standard. JerryScript has decided not to implement it,
exactly because it was not part of ES 5.1. The only fully
ES5.1-compatible way of accessing the prototype chain is
`Object.getPrototypeOf` for reading.
However, ES2015 defines `Object.setPrototypeOf` for rewriting the
prototype chain, and JerryScript has now an ES2015 subset profile.
So, this commit adds its implementation to JerryScript.
Note, this commit does _not_ add `Object.prototype.__proto__`,
since that is in the Annex B of ES2015 specification, which is
optional for non-web-browser hosts.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2017-03-21 10:11:07 +01:00
..
2017-03-07 08:37:19 +09:00
2017-02-22 10:34:44 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-03 18:03:47 +01:00
2017-01-17 08:58:46 +01:00
2017-01-03 18:03:47 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-11 08:27:29 +01:00
2017-01-17 08:58:46 +01:00
2017-02-22 10:34:44 +01:00
2017-01-17 08:58:46 +01:00
2017-01-05 09:35:31 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-02-16 18:31:04 +01:00
2017-01-24 15:06:31 +01:00
2017-03-16 17:03:42 +01:00
2016-12-08 06:39:11 +01:00
2016-12-08 06:39:11 +01:00
2017-01-24 15:06:31 +01:00
2017-01-11 08:27:29 +01:00
2016-12-13 13:41:36 +01:00
2017-02-22 10:34:44 +01:00
2017-01-17 08:58:46 +01:00
2016-12-19 13:48:17 +01:00
2017-01-17 08:58:46 +01:00
2017-03-16 08:59:48 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2017-03-21 10:11:07 +01:00
2017-03-21 10:11:07 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-03-14 10:01:22 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-16 10:18:37 +01:00
2016-12-09 13:28:06 +01:00
2016-12-16 15:40:46 +01:00
2017-01-24 15:06:31 +01:00