js/src/tests/js1_8_5/regress/regress-567152.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:993c159ef652
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
3 // Contributors: Gary Kwong <gary@rumblingedge.com>,
4 // Jason Orendorff <jorendorff@mozilla.com>
5
6 function c(a) {
7 this.f = function () { a; };
8 }
9 c(0); // set both BRANDED and GENERIC bits in global scope
10 Object.defineProperty(this, "f", {configurable: true, enumerable: true, value: 3});
11
12 reportCompare(0, 0, "");

mercurial