js/src/jit-test/tests/basic/bug951213.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:071f67facb26
1
2 setObjectMetadataCallback(function(obj) {});
3 function foo(x, y) {
4 this.g = x + y;
5 }
6 var a = 0;
7 var b = { valueOf: function() Object.defineProperty(Object.prototype, 'g', {}) };
8 var c = new foo(a, b);

mercurial