michael@0: // |jit-test| error:TypeError michael@0: michael@0: // Binary: cache/js-dbg-32-0428dbdf3d58-linux michael@0: // Flags: michael@0: // michael@0: o1 = new Float32Array().buffer michael@0: o2 = ArrayBuffer.prototype michael@0: o3 = new Uint32Array().buffer michael@0: for (i = 0; i < 2; i++) { michael@0: for (var x in o2) { michael@0: o3.__defineGetter__("", function() {}) michael@0: } michael@0: o2.__defineGetter__("", function() {}) michael@0: o1[ michael@0: x] michael@0: o1.__proto__ = o3 michael@0: }