js/src/jit-test/tests/ion/bug774257-2.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:68784efa6960
1 Object.defineProperty(Object.prototype, 'x', {
2 set: function() { evalcx('lazy'); }
3 });
4 var obj = {};
5 var prot = {};
6 obj.__proto__ = prot;
7 obj.watch("x", function (id, oldval, newval) {});
8 for (var str in 'A') {
9 obj.x = 1;
10 }

mercurial