Index: test/mjsunit/json.js |
diff --git a/test/mjsunit/json.js b/test/mjsunit/json.js |
index bead376f84da7b82796ec6cdd18ab94a26254bc8..54fa1854f70f97ec2e593d2829c8a2835d73cd0c 100644 |
--- a/test/mjsunit/json.js |
+++ b/test/mjsunit/json.js |
@@ -428,5 +428,5 @@ var o = JSON.parse('{"__proto__":5}'); |
assertEquals(Object.prototype, o.__proto__); // __proto__ isn't changed. |
assertEquals(0, Object.keys(o).length); // __proto__ isn't added as enumerable. |
- |
- |
+var json = '{"stuff before slash\\\\stuff after slash":"whatever"}'; |
+assertEquals(json, JSON.stringify(JSON.parse(json))); |