michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: */ michael@0: michael@0: var gTestfile = 'vacuous-accessor-unqualified-name.js'; michael@0: //----------------------------------------------------------------------------- michael@0: var BUGNUMBER = 560216; michael@0: var summary = michael@0: "Using a name referring to a { get: undefined, set: undefined } descriptor " + michael@0: "shouldn't assert"; michael@0: michael@0: print(BUGNUMBER + ": " + summary); michael@0: michael@0: /************** michael@0: * BEGIN TEST * michael@0: **************/ michael@0: michael@0: Object.defineProperty(this, "x", { set: undefined }); michael@0: x; michael@0: michael@0: /******************************************************************************/ michael@0: michael@0: reportCompare(true, true); michael@0: michael@0: print("All tests passed!");