Index: test/mjsunit/harmony/proxies-json.js |
diff --git a/test/mjsunit/harmony/proxies-json.js b/test/mjsunit/harmony/proxies-json.js |
index 49129319919f8aef8a0f0f70121c5a29c9736cfe..19a13298df3cc8e01b872813a02ac56cba77b599 100644 |
--- a/test/mjsunit/harmony/proxies-json.js |
+++ b/test/mjsunit/harmony/proxies-json.js |
@@ -421,7 +421,7 @@ var target = []; |
var proxy = new Proxy(target, {get: getTrap}); |
var replacer = (key, val) => key === "goo" ? proxy : val; |
var object = {foo: true, goo: false}; |
-assertThrows(() => JSON.stringify(object, replacer)); |
+assertThrows(() => JSON.stringify(object, replacer), TypeError); |
// Replacer returns a callable proxy |