Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
e89e9a8a
Unverified
Commit
e89e9a8a
authored
6 years ago
by
Leo Balter
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add global feature tag (#1600)
parent
cdf24aac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
features.txt
+4
-0
4 additions, 0 deletions
features.txt
test/built-ins/global/global-object.js
+1
-0
1 addition, 0 deletions
test/built-ins/global/global-object.js
test/built-ins/global/property-descriptor.js
+6
-3
6 additions, 3 deletions
test/built-ins/global/property-descriptor.js
with
11 additions
and
3 deletions
features.txt
+
4
−
0
View file @
e89e9a8a
...
@@ -89,6 +89,10 @@ json-superset
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
test/built-ins/global/global-object.js
+
1
−
0
View file @
e89e9a8a
...
@@ -5,6 +5,7 @@
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
test/built-ins/global/property-descriptor.js
+
6
−
3
View file @
e89e9a8a
...
@@ -6,8 +6,11 @@ esid: sec-other-properties-of-the-global-object-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
,
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment