BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / Proxy_internal_get_calls_Error.prototype.toString.js
1 function test() {
2
3 // Error.prototype.toString -> Get -> [[Get]]
4 var get = [];
5 var p = new Proxy({}, { get: function(o, k) { get.push(k); return o[k]; }});
6 Error.prototype.toString.call(p);
7 return get + '' === "name,message";
8       
9 }
10
11 if (!test())
12     throw new Error("Test failed");
13