diff options
Diffstat (limited to 'deps/v8/test/mjsunit/messages.js')
-rw-r--r-- | deps/v8/test/mjsunit/messages.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/messages.js b/deps/v8/test/mjsunit/messages.js index 45443c75d1..b8c3114d36 100644 --- a/deps/v8/test/mjsunit/messages.js +++ b/deps/v8/test/mjsunit/messages.js @@ -76,7 +76,8 @@ test(function() { // kCannotConvertToPrimitive test(function() { - [].join(Object(Symbol(1))); + var o = { toString: function() { return this } }; + [].join(o); }, "Cannot convert object to primitive value", TypeError); // kCircularStructure |