| Index: test/mjsunit/harmony/proxies-enumerate.js
|
| diff --git a/test/mjsunit/harmony/proxies-enumerate.js b/test/mjsunit/harmony/proxies-enumerate.js
|
| index 87eb554fcb115542c543486c8a93c5c497ebffeb..0da706d9e101f0814ba5c0dab2ed4f815fa78b67 100644
|
| --- a/test/mjsunit/harmony/proxies-enumerate.js
|
| +++ b/test/mjsunit/harmony/proxies-enumerate.js
|
| @@ -37,6 +37,12 @@ function TestForIn(receiver, expected) {
|
|
|
| TestForIn(proxy, ["foo", "bar"]);
|
|
|
| +// Test revoked proxy.
|
| +var pair = Proxy.revocable(target, handler);
|
| +TestForIn(pair.proxy, ["foo", "bar"]);
|
| +pair.revoke();
|
| +assertThrows(()=>{ TestForIn(pair.proxy, ["foo", "bar"]) }, TypeError);
|
| +
|
| // Properly call traps on proxies on the prototype chain.
|
| var receiver = {
|
| "receiver_one": 1
|
|
|