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
f77a406e
Commit
f77a406e
authored
7 years ago
by
Leo Balter
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update links to the specs (#1005)
parent
a09f857e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INTERPRETING.md
+6
-6
6 additions, 6 deletions
INTERPRETING.md
with
6 additions
and
6 deletions
INTERPRETING.md
+
6
−
6
View file @
f77a406e
...
...
@@ -16,7 +16,7 @@ Each test must be executed in a new [ECMAScript
realm
](
https://tc39.github.io/ecma262/#sec-code-realms
)
dedicated to that test.
Unless configured otherwise (via the
`module`
flag), source text must be
interpreted as
[
global
code
](
http://
www.ecma-international.org
/ecma
-
262/
6.0/
#sec-types-of-source-code
)
.
code
](
http
s
://
tc39.github.io
/ecma262/#sec-types-of-source-code
)
.
### Test262-Defined Bindings
...
...
@@ -36,15 +36,15 @@ properties of the global scope prior to test execution.
tests (via the
`async`
flag, described below).
-
**`$262`**
An ordinary object with the following properties:
-
**`createRealm`**
- a function which creates a new
[
ECMAScript
Realm
](
https://tc39.github.io/ecma262/
2016/
#sec-code-realms
)
,
Realm
](
https://tc39.github.io/ecma262/#sec-code-realms
)
,
defines this API on the new realm's global object, and returns the
`$262`
property of the new realm's global object
-
**`detachArrayBuffer`**
- a function which implements
[
the
DetachArrayBuffer abstract
operation
](
https://tc39.github.io/ecma262/
2016/
#sec-detacharraybuffer
)
operation
](
https://tc39.github.io/ecma262/#sec-detacharraybuffer
)
-
**`evalScript`**
- a function which accepts a string value as its first
argument and executes is as
[
an ECMAScript
script
](
https://tc39.github.io/ecma262/
2016/
#sec-scripts
)
according to the
script
](
https://tc39.github.io/ecma262/#sec-scripts
)
according to the
following algorithm:
1. Let hostDefined be any host-defined values for the provided
...
...
@@ -65,7 +65,7 @@ properties of the global scope prior to test execution.
running. The agent has no representation. The agent script will be
run in an environment that has an object
`$262`
with a property
`agent`
with the following properties:
-
**`receiveBroadcast`**
- a function that takes a function and
-
**`receiveBroadcast`**
- a function that takes a function and
calls the function when it has received a broadcast from the parent,
passing it the broadcast as two arguments, a SharedArrayBuffer and
an Int32. This function may return before a broadcast is received
...
...
@@ -231,7 +231,7 @@ following strings:
```
-
**`module`**
The test source code must be interpreted as
[
module
code
](
http://
www.ecma-international.org
/ecma
-
262/
6.0/
#sec-types-of-source-code
)
.
code
](
http
s
://
tc39.github.io
/ecma262/#sec-types-of-source-code
)
.
In addition, this flag negates the default requirement to execute the test
both in strict mode and in non-strict mode. In other words, the
transformation described by the section titled "Strict Mode" must
**not**
be
...
...
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