Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: src/builtins.cc

Issue 1492653004: [cleanup] Introduce PropertyFilter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: windows ♥ Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index 07bac67883858bf548c47bbf7b56972e4a441c3b..ba6eec3306b1d7cb8e022b4d8378d8f69e175579 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -1615,10 +1615,9 @@ BUILTIN(ReflectOwnKeys) {
Handle<FixedArray> keys;
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
- isolate, keys,
- JSReceiver::GetKeys(Handle<JSReceiver>::cast(target),
- JSReceiver::OWN_ONLY, INCLUDE_SYMBOLS,
- CONVERT_TO_STRING, IGNORE_ENUMERABILITY));
+ isolate, keys, JSReceiver::GetKeys(Handle<JSReceiver>::cast(target),
+ JSReceiver::OWN_ONLY, ALL_PROPERTIES,
+ CONVERT_TO_STRING));
return *isolate->factory()->NewJSArrayWithElements(keys);
}
« no previous file with comments | « src/api.cc ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698