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
|
||||
Intl.Locale
|
||||
|
||||
# Global
|
||||
# https://github.com/tc39/proposal-global
|
||||
global
|
||||
|
||||
# Standard language features
|
||||
#
|
||||
# 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
|
||||
description: "'global' should be the global object"
|
||||
author: Jordan Harband
|
||||
features: [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"
|
||||
author: Jordan Harband
|
||||
includes: [propertyHelper.js]
|
||||
features: [global]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(this, 'global');
|
||||
verifyWritable(this, 'global');
|
||||
verifyConfigurable(this, 'global');
|
||||
verifyProperty(this, "global", {
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue