mirror of https://github.com/tc39/test262.git
Add global feature tag (#1600)
This commit is contained in:
parent
cdf24aac8e
commit
e89e9a8a28
|
@ -89,6 +89,10 @@ json-superset
|
||||||
# https://github.com/tc39/proposal-intl-locale
|
# https://github.com/tc39/proposal-intl-locale
|
||||||
Intl.Locale
|
Intl.Locale
|
||||||
|
|
||||||
|
# Global
|
||||||
|
# https://github.com/tc39/proposal-global
|
||||||
|
global
|
||||||
|
|
||||||
# Standard language features
|
# Standard language features
|
||||||
#
|
#
|
||||||
# Language features that have been included in a published version of the
|
# Language features that have been included in a published version of the
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
esid: sec-other-properties-of-the-global-object-global
|
esid: sec-other-properties-of-the-global-object-global
|
||||||
description: "'global' should be the global object"
|
description: "'global' should be the global object"
|
||||||
author: Jordan Harband
|
author: Jordan Harband
|
||||||
|
features: [global]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(this, global);
|
assert.sameValue(this, global);
|
||||||
|
|
|
@ -6,8 +6,11 @@ esid: sec-other-properties-of-the-global-object-global
|
||||||
description: "'global' should be writable, non-enumerable, and configurable"
|
description: "'global' should be writable, non-enumerable, and configurable"
|
||||||
author: Jordan Harband
|
author: Jordan Harband
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [global]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyNotEnumerable(this, 'global');
|
verifyProperty(this, "global", {
|
||||||
verifyWritable(this, 'global');
|
enumerable: false,
|
||||||
verifyConfigurable(this, 'global');
|
writable: true,
|
||||||
|
configurable: true,
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue