| Index: src/js/v8natives.js
|
| diff --git a/src/js/v8natives.js b/src/js/v8natives.js
|
| index f1c5f838b4110c7cea5464ed918da57243c4017d..26447dac5de4d8169c891b105c8897b49aa78af9 100644
|
| --- a/src/js/v8natives.js
|
| +++ b/src/js/v8natives.js
|
| @@ -772,6 +772,12 @@
|
| }
|
|
|
|
|
| +// ES6 section 19.1.2.6
|
| +function ObjectGetOwnPropertyDescriptor(obj, p) {
|
| + return %GetOwnProperty(obj, p);
|
| +}
|
| +
|
| +
|
| // ES5 section 15.2.3.4.
|
| function ObjectGetOwnPropertyNames(obj) {
|
| obj = TO_OBJECT(obj);
|
| @@ -883,6 +889,7 @@
|
| "defineProperties", ObjectDefineProperties,
|
| "getPrototypeOf", ObjectGetPrototypeOf,
|
| "setPrototypeOf", ObjectSetPrototypeOf,
|
| + "getOwnPropertyDescriptor", ObjectGetOwnPropertyDescriptor,
|
| "getOwnPropertyNames", ObjectGetOwnPropertyNames,
|
| // getOwnPropertySymbols is added in symbol.js.
|
| "is", SameValue, // ECMA-262, Edition 6, section 19.1.2.10
|
|
|