michael@0: function TestCase(n, d, e, a) michael@0: this.name=n; michael@0: function reportCompare (expected, actual, description) { michael@0: new TestCase michael@0: } michael@0: reportCompare(true, "isGenerator" in Function, "Function.prototype.isGenerator present"); michael@0: var p = Proxy.create({ michael@0: has : function(id) {} michael@0: }); michael@0: function test() { michael@0: Object.prototype.__proto__=null michael@0: if (new TestCase) michael@0: Object.prototype.__proto__=p michael@0: } michael@0: test(); michael@0: new TestCase; michael@0: test()