diff --git a/features.txt b/features.txt index a0b1565d3d4854d5369702a227468db0bc90db5a..4c146761d0549834c3e6b573b0683cf2a839741f 100644 --- a/features.txt +++ b/features.txt @@ -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 diff --git a/test/built-ins/global/global-object.js b/test/built-ins/global/global-object.js index cb5146827e9454dad273c1ed7753183b4ebc9647..89c15b9a9a62dfdc1f6ad8c6c6bf2805044c6ff8 100644 --- a/test/built-ins/global/global-object.js +++ b/test/built-ins/global/global-object.js @@ -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); diff --git a/test/built-ins/global/property-descriptor.js b/test/built-ins/global/property-descriptor.js index 49afab10d7ceb406cba51ad05df1c157a3ed9b08..d01442a10c7ca165ca38a0ac4d6c0f23f7d29eea 100644 --- a/test/built-ins/global/property-descriptor.js +++ b/test/built-ins/global/property-descriptor.js @@ -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, +});