summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Proxy/regress-bug950407.js
blob: d253c75fc2fb63690a4a3f63c62c7b654bfb3011 (plain)
1
2
3
4
5
6
7
var ab = new ArrayBuffer(5);
var p = new Proxy(ab, {});
var ps = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set;
var new_proto = {};
ps.call(p, new_proto);

reportCompare(ab.__proto__, new_proto);