Remove explicit sta.js includes

INTERPRETING.md states that sta.js has to be included unconditionally.
This commit is contained in:
Adrian Heine 2018-10-07 20:43:56 +02:00 committed by Rick Waldron
parent 3bcb28e918
commit 21f6a86a6d
36 changed files with 19 additions and 38 deletions

View File

@ -4,7 +4,6 @@
/*---
description: >
`false` does not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Two references to NaN do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
An object literal does not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Distinct objects do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Positive and negative zero do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -5,7 +5,6 @@
description: >
Functions that throw values whose constructor does not match the specified
constructor do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -5,7 +5,6 @@
description: >
Functions that throw instances of the specified native Error constructor
satisfy the assertion.
includes: [sta.js]
---*/
assert.throws(Error, function() {

View File

@ -4,7 +4,6 @@
/*---
description: >
The assertion fails when invoked without arguments.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Functions that do not throw errors do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Fails if second arg is not a function
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Functions that throw the `null` value do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
Functions that throw primitive values do not satisfy the assertion.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,6 @@
/*---
description: >
The assertion fails when invoked with a single argument.
includes: [sta.js]
---*/
var threw = false;

View File

@ -4,7 +4,7 @@
description: >
Only passes when the provided date is exactly the specified number of
milliseconds from the Unix epoch
includes: [assertRelativeDateMs.js,sta.js]
includes: [assertRelativeDateMs.js]
---*/
var thrown;

View File

@ -8,7 +8,7 @@ description: >
$DETACHBUFFER relies on the presence of a host definition for $262.detachArrayBuffer
includes: [detachArrayBuffer.js,sta.js]
includes: [detachArrayBuffer.js]
---*/
var $262 = {

View File

@ -9,8 +9,6 @@ description: >
$DETACHBUFFER relies on the presence of a definition for $262.detachArrayBuffer.
Without a definition, calling $DETACHBUFFER will result in a ReferenceError
includes: [sta.js]
---*/
var ab = new ArrayBuffer(1);

View File

@ -10,7 +10,7 @@ description: >
of numbers, each added during some operation, and verifies that they
are in numeric order.
includes: [promiseHelper.js,sta.js]
includes: [promiseHelper.js]
---*/
assert(checkSequence([1, 2, 3, 4, 5]));

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified property is not configurable do not satisfy the
assertion outside of strict mode.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
flags: [noStrict]
---*/

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified property is not configurable do not satisfy the
assertion in strict mode.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
flags: [onlyStrict]
---*/
var threw = false;

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified symbol property is not enumerable do not satisfy the
assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
features: [Symbol]
---*/
var threw = false;

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified string property is not enumerable do not satisfy the
assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var threw = false;
var obj = {};

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified property is configurable do not satisfy the
assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var threw = false;
var obj = {};

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified property is not configurable satisfy the assertion
in strict mode.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
flags: [onlyStrict]
---*/
var obj = {};

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified symbol property is enumerable do not satisfy the
assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
features: [Symbol]
---*/
var threw = false;

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified string property is enumerable do not satisfy the
assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var threw = false;
var obj = {};

View File

@ -4,7 +4,7 @@
/*---
description: >
Objects whose specified property is writable do not satisfy the assertion.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var threw = false;
var obj = {};

View File

@ -5,7 +5,7 @@
description: >
Objects whose specified property is not writable do not satisfy the
assertion outside of strict mode.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
flags: [noStrict]
---*/
var threw = false;

View File

@ -6,7 +6,7 @@ description: >
Objects whose specified property is not writable do not satisfy the
assertion in strict mode.
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
flags: [onlyStrict]
---*/
var threw = false;

View File

@ -5,7 +5,6 @@
description: >
The global `$ERROR` function throws an instance of the global `Test262Error`
function with the specified message.
includes: [sta.js]
---*/
var threw = false;

View File

@ -9,7 +9,6 @@ description: >
$ERROR
Assert that global $ERROR is overridable
includes: [sta.js]
---*/
function BaloneyError() {}

View File

@ -6,8 +6,6 @@ description: >
Test262Error
$ERROR
includes: [sta.js]
---*/
assert(typeof Test262Error === "function");

View File

@ -4,7 +4,7 @@
/*---
description: >
verifyProperty should receive at least 3 arguments: obj, name, and descriptor
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
assert.throws(Test262Error, () => {
verifyProperty();

View File

@ -4,7 +4,7 @@
/*---
description: >
The desc argument should be an object or undefined
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
features: [Symbol]
---*/
var sample = { foo: 42 };

View File

@ -4,7 +4,7 @@
/*---
description: >
The first argument should have an own property
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
assert.throws(Test262Error, () => {
verifyProperty(Object, 'JeanPaulSartre', {});

View File

@ -4,7 +4,7 @@
/*---
description: >
Verify an undefined descriptor
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var sample = {
bar: undefined,

View File

@ -8,7 +8,7 @@ description: >
verifyProperty()
...
includes: [propertyHelper.js,sta.js]
includes: [propertyHelper.js]
---*/
var threw = false;