bug1172503-2.js (263B)
1 load(libdir + "immutable-prototype.js"); 2 3 var n = 0; 4 if (globalPrototypeChainIsMutable()) { 5 this.__proto__ = new Proxy({}, { 6 has: function () { 7 if (++n === 2) 8 return false; 9 a = 0; 10 } 11 }); 12 } 13 a = 0; 14 assertEq(a, 0);