| Index: test/mjsunit/es6/object-tostring.js
|
| diff --git a/test/mjsunit/es6/object-tostring.js b/test/mjsunit/es6/object-tostring.js
|
| index 26dff14b9d29519e24bdc38c6e8d26ae83dc2336..8f14bc0728b2e97e81cbacebad690743cea46510 100644
|
| --- a/test/mjsunit/es6/object-tostring.js
|
| +++ b/test/mjsunit/es6/object-tostring.js
|
| @@ -131,3 +131,10 @@ function testObjectToStringPropertyDesc() {
|
| assertTrue(desc.configurable);
|
| }
|
| testObjectToStringPropertyDesc();
|
| +
|
| +function testObjectToStringOwnNonStringValue() {
|
| + var obj = Object.defineProperty({}, Symbol.toStringTag, { value: 1 });
|
| + assertEquals("[object ???]", ({}).toString.call(obj));
|
| +}
|
| +testObjectToStringOwnNonStringValue();
|
| +
|
|
|