mirror of https://github.com/tc39/test262.git
Merge pull request #332 from bocoup/update-links
Update spec references to use canonical source
This commit is contained in:
commit
c295916c09
|
@ -116,7 +116,7 @@ This tag is for boolean properties associated with the test.
|
||||||
- **`onlyStrict`** - only run the test in strict mode (*not supported by the browser runner*)
|
- **`onlyStrict`** - only run the test in strict mode (*not supported by the browser runner*)
|
||||||
- **`noStrict`** - only run the test in "sloppy" mode
|
- **`noStrict`** - only run the test in "sloppy" mode
|
||||||
- **`module`** - interpret the source text as [module
|
- **`module`** - interpret the source text as [module
|
||||||
code](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-modules)
|
code](http://www.ecma-international.org/ecma-262/6.0/#sec-modules)
|
||||||
|
|
||||||
#### features
|
#### features
|
||||||
**features**: [list]
|
**features**: [list]
|
||||||
|
@ -133,8 +133,8 @@ Test262Error(message) | constructor for an error object that indicates a test fa
|
||||||
$ERROR(message) | construct a Test262Error object and throw it
|
$ERROR(message) | construct a Test262Error object and throw it
|
||||||
$DONE(arg) | see Writing Asynchronous Tests, below
|
$DONE(arg) | see Writing Asynchronous Tests, below
|
||||||
assert(value, message) | throw a new Test262Error instance if the specified value is not strictly equal to the JavaScript `true` value; accepts an optional string message for use in creating the error
|
assert(value, message) | throw a new Test262Error instance if the specified value is not strictly equal to the JavaScript `true` value; accepts an optional string message for use in creating the error
|
||||||
assert.sameValue(actual, expected, message) | throw a new Test262Error instance if the first two arguments are not [the same value](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue); accepts an optional string message for use in creating the error
|
assert.sameValue(actual, expected, message) | throw a new Test262Error instance if the first two arguments are not [the same value](http://www.ecma-international.org/ecma-262/6.0/#sec-samevalue); accepts an optional string message for use in creating the error
|
||||||
assert.notSameValue(actual, unexpected, message) | throw a new Test262Error instance if the first two arguments are [the same value](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue); accepts an optional string message for use in creating the error
|
assert.notSameValue(actual, unexpected, message) | throw a new Test262Error instance if the first two arguments are [the same value](http://www.ecma-international.org/ecma-262/6.0/#sec-samevalue); accepts an optional string message for use in creating the error
|
||||||
assert.throws(expectedErrorConstructor, fn) | throw a new Test262Error instance if the provided function does not throw an error, or if the constructor of the value thrown does not match the provided constructor
|
assert.throws(expectedErrorConstructor, fn) | throw a new Test262Error instance if the provided function does not throw an error, or if the constructor of the value thrown does not match the provided constructor
|
||||||
|
|
||||||
The test harness also defines the following objects:
|
The test harness also defines the following objects:
|
||||||
|
|
Loading…
Reference in New Issue