| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index b6e73eb9a93a13bf05db6466e850d51f2b1b4a86..c3bccdc2413769e90b7542c7e63d896a7f9ae0e0 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1465,6 +1465,13 @@ class Object : public Value {
|
| V8EXPORT Local<Array> GetPropertyNames();
|
|
|
| /**
|
| + * This function has the same functionality as GetPropertyNames but
|
| + * the returned array doesn't contain the names of properties from
|
| + * prototype objects.
|
| + */
|
| + V8EXPORT Local<Array> GetOwnPropertyNames();
|
| +
|
| + /**
|
| * Get the prototype object. This does not skip objects marked to
|
| * be skipped by __proto__ and it does not consult the security
|
| * handler.
|
|
|