| Index: src/js/v8natives.js
|
| diff --git a/src/js/v8natives.js b/src/js/v8natives.js
|
| index 5e1a8256eeb8deacc3bce833524bf229e9bd046e..f99564e8410bc6480be4fa2ff458463ea644c269 100644
|
| --- a/src/js/v8natives.js
|
| +++ b/src/js/v8natives.js
|
| @@ -134,14 +134,6 @@ function ObjectValueOf() {
|
| }
|
|
|
|
|
| -// ES6 7.3.11
|
| -function ObjectHasOwnProperty(value) {
|
| - var name = TO_NAME(value);
|
| - var object = TO_OBJECT(this);
|
| - return %HasOwnProperty(object, name);
|
| -}
|
| -
|
| -
|
| // ES6 19.1.3.3 Object.prototype.isPrototypeOf(V)
|
| function ObjectIsPrototypeOf(V) {
|
| if (!IS_RECEIVER(V)) return false;
|
| @@ -850,7 +842,6 @@ utils.InstallFunctions(GlobalObject.prototype, DONT_ENUM, [
|
| "toString", ObjectToString,
|
| "toLocaleString", ObjectToLocaleString,
|
| "valueOf", ObjectValueOf,
|
| - "hasOwnProperty", ObjectHasOwnProperty,
|
| "isPrototypeOf", ObjectIsPrototypeOf,
|
| "propertyIsEnumerable", ObjectPropertyIsEnumerable,
|
| "__defineGetter__", ObjectDefineGetter,
|
| @@ -1108,7 +1099,7 @@ utils.Export(function(to) {
|
| to.NumberIsNaN = NumberIsNaN;
|
| to.ObjectDefineProperties = ObjectDefineProperties;
|
| to.ObjectDefineProperty = ObjectDefineProperty;
|
| - to.ObjectHasOwnProperty = ObjectHasOwnProperty;
|
| + to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty;
|
| });
|
|
|
| %InstallToContext([
|
|
|