| 1 |
// Copyright 2015 Microsoft Corporation. All rights reserved. |
| 2 |
// Copyright (C) 2017 Mozilla Corporation. All rights reserved. |
| 3 |
// This code is governed by the license found in the LICENSE file. |
| 4 |
|
| 5 |
/*--- |
| 6 |
esid: sec-atomics.compareexchange |
| 7 |
description: Testing descriptor property of Atomics.compareExchange |
| 8 |
includes: [propertyHelper.js] |
| 9 |
---*/ |
| 10 |
|
| 11 |
verifyWritable(Atomics, "compareExchange"); |
| 12 |
verifyNotEnumerable(Atomics, "compareExchange"); |
| 13 |
verifyConfigurable(Atomics, "compareExchange"); |