Chromium Code Reviews| Index: test/mjsunit/es6/json.js |
| diff --git a/test/mjsunit/es6/json.js b/test/mjsunit/es6/json.js |
| index 4c1ada8a865357c54c5ef164b8cdd853356ba023..c049a25ddd09f72a684907347383612e18cdfd31 100644 |
| --- a/test/mjsunit/es6/json.js |
| +++ b/test/mjsunit/es6/json.js |
| @@ -9,5 +9,7 @@ function testJSONToString() { |
| assertTrue(desc.configurable); |
| assertFalse(desc.writable); |
| assertEquals("JSON", desc.value); |
| + delete JSON[Symbol.toStringTag]; |
| + assertEquals('[object Object]', "" + JSON); |
| } |
| testJSONToString(); |