michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: * Contributor: michael@0: * Gary Kwong michael@0: */ michael@0: michael@0: var gTestfile = 'watch-undefined-setter.js'; michael@0: //----------------------------------------------------------------------------- michael@0: var BUGNUMBER = 560277; michael@0: var summary = michael@0: 'Crash [@ JSObject::getParent] or [@ js_WrapWatchedSetter] or ' + michael@0: '[@ js_GetClassPrototype]'; michael@0: michael@0: this.watch("x", function() { }); michael@0: Object.defineProperty(this, "x", { set: undefined }); michael@0: michael@0: reportCompare(true, true);