Add global feature tag (#1600)

This commit is contained in:
Leo Balter 2018-06-18 18:00:19 -04:00 committed by GitHub
parent cdf24aac8e
commit e89e9a8a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -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,
});