2017-02-07 17:17:31 +01:00
|
|
|
// Copyright (C) 2015 André Bargull. All rights reserved.
|
|
|
|
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
2017-07-26 23:49:55 +02:00
|
|
|
esid: sec-atomics.sub
|
2017-02-07 17:17:31 +01:00
|
|
|
description: >
|
|
|
|
Atomics.sub.name is "sub".
|
|
|
|
includes: [propertyHelper.js]
|
2018-03-20 00:51:32 +01:00
|
|
|
features: [Atomics]
|
2017-02-07 17:17:31 +01:00
|
|
|
---*/
|
|
|
|
|
|
|
|
assert.sameValue(Atomics.sub.name, "sub");
|
|
|
|
|
|
|
|
verifyNotEnumerable(Atomics.sub, "name");
|
|
|
|
verifyNotWritable(Atomics.sub, "name");
|
|
|
|
verifyConfigurable(Atomics.sub, "name");
|