summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/object/vacuous-accessor-unqualified-name.js
blob: 768b1050b9b8f35763b8c177ecbcd7db94ec848a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

var gTestfile = 'vacuous-accessor-unqualified-name.js';
//-----------------------------------------------------------------------------
var BUGNUMBER = 560216;
var summary =
  "Using a name referring to a { get: undefined, set: undefined } descriptor " +
  "shouldn't assert";

print(BUGNUMBER + ": " + summary);

/**************
 * BEGIN TEST *
 **************/

Object.defineProperty(this, "x", { set: undefined, configurable: true });
x;

/******************************************************************************/

reportCompare(true, true);

print("All tests passed!");