Index: src/symbol.js |
diff --git a/src/symbol.js b/src/symbol.js |
index ce3327bbdbaf7beac83a07073c49ac64f869a863..e00979019010e93d47634b055725e8a68009179b 100644 |
--- a/src/symbol.js |
+++ b/src/symbol.js |
@@ -69,10 +69,7 @@ function SymbolKeyFor(symbol) { |
// ES6 19.1.2.8 |
function ObjectGetOwnPropertySymbols(obj) { |
- if (!IS_SPEC_OBJECT(obj)) { |
- throw MakeTypeError("called_on_non_object", |
- ["Object.getOwnPropertySymbols"]); |
- } |
+ obj = ToObject(obj); |
// TODO(arv): Proxies use a shared trap for String and Symbol keys. |