michael@0: function TestCase(n, d, e, a) { michael@0: this.name = n michael@0: this.description = d michael@0: } michael@0: function reportCompare(expected, actual, description) { michael@0: new TestCase michael@0: } michael@0: var actual = ''; michael@0: var expect = ''; michael@0: for (var i = 0; i < 2; ++i) reportCompare(expect, actual, ': 2'); michael@0: try { michael@0: ({ michael@0: valueOf: gc michael@0: } - []) michael@0: } catch (prop) {} michael@0: function addThis() reportCompare(expect, actual, 'RegExp.multiline = 17'); michael@0: Object.defineProperty(Object.prototype, "name", { michael@0: set: function (newValue) {} michael@0: }); michael@0: addThis()