Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index b5db5fe4295d11d17589fdeb07fefdbf2cde7e81..04b2396691ab7372e34740ad10d7f6f672240fc6 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2631,6 +2631,10 @@ enum PropertyFilter { |
SKIP_SYMBOLS = 16 |
}; |
+enum class KeyCollectionMode { kOwnOnly, kIncludePrototypes }; |
Igor Sheludko
2016/05/30 13:35:37
This is a public API, we probably need some commen
|
+ |
+enum class IndexFilter { kIncludeIndices, kSkipIndices }; |
+ |
/** |
* Integrity level for objects. |
*/ |
@@ -2780,6 +2784,9 @@ class V8_EXPORT Object : public Value { |
V8_DEPRECATE_SOON("Use maybe version", Local<Array> GetPropertyNames()); |
V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetPropertyNames( |
Local<Context> context); |
+ V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetPropertyNames( |
+ Local<Context> context, KeyCollectionMode mode, |
+ PropertyFilter property_filter, IndexFilter index_filter); |
/** |
* This function has the same functionality as GetPropertyNames but |