Index: src/js/symbol.js |
diff --git a/src/js/symbol.js b/src/js/symbol.js |
index 62ef0dd2167bfc6185bde0adf0d92775a7b16464..5be6e0168d7a2d2629340264fdfcf09b3db0de3b 100644 |
--- a/src/js/symbol.js |
+++ b/src/js/symbol.js |
@@ -18,14 +18,12 @@ var isConcatSpreadableSymbol = |
utils.ImportNow("is_concat_spreadable_symbol"); |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
var MakeTypeError; |
-var ObjectGetOwnPropertyKeys; |
var toPrimitiveSymbol = utils.ImportNow("to_primitive_symbol"); |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); |
utils.Import(function(from) { |
MakeTypeError = from.MakeTypeError; |
- ObjectGetOwnPropertyKeys = from.ObjectGetOwnPropertyKeys; |
}); |
// ------------------------------------------------------------------- |
@@ -80,9 +78,7 @@ function SymbolKeyFor(symbol) { |
function ObjectGetOwnPropertySymbols(obj) { |
obj = TO_OBJECT(obj); |
- // TODO(arv): Proxies use a shared trap for String and Symbol keys. |
- |
- return ObjectGetOwnPropertyKeys(obj, PROPERTY_ATTRIBUTES_STRING); |
+ return %GetOwnPropertyKeys(obj, PROPERTY_FILTER_SKIP_STRINGS); |
} |
// ------------------------------------------------------------------- |