Merge pull request #2366 from bocoup/unnecessary-includes

Remove unnecessary "includes" directives
This commit is contained in:
Leo Balter 2019-09-27 16:46:22 -04:00 committed by GitHub
commit e2903e2648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
84 changed files with 24 additions and 88 deletions

View File

@ -11,8 +11,6 @@ info: |
(...)
...AssignmentExpression[In, ?Yield]
features: [object-spread]
includes:
- compareArray.js
flags: [async]
---*/

View File

@ -3,7 +3,6 @@
/*---
desc: Module namespace objects are not extensible.
template: namespace
includes: [propertyHelper.js]
---*/
//- import

View File

@ -11,8 +11,6 @@ info: |
(...)
...AssignmentExpression[In, ?Yield]
features: [object-spread]
includes:
- compareArray.js
---*/
//- body

View File

@ -11,7 +11,6 @@ info: |
7. Repeat, while k < len
a. Let elementK be the result of ? Get(O, ! ToString(k)).
...
includes: [compareArray.js]
---*/
function getCleanObj() {

View File

@ -18,7 +18,7 @@ testWithTypedArrayConstructors(TA => {
var i = 0;
assert.throws(TypeError, () => {
for (let key of typedArray.keys()) {
$262.detachArrayBuffer(typedArray.buffer);
$DETACHBUFFER(typedArray.buffer);
i++;
}
});

View File

@ -18,7 +18,6 @@ info: |
...
9. Return promiseCapability.[[Promise]].
includes: [propertyHelper.js]
features: [async-iteration]
---*/

View File

@ -20,7 +20,7 @@ info: |
2. If number is NaN, return +0.
...
includes: [nans.js, atomicsHelper.js]
includes: [nans.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/

View File

@ -5,7 +5,6 @@
esid: sec-atomics.notify
description: >
Test Atomics.notify on non-shared integer TypedArrays
includes: [testTypedArray.js]
features: [ArrayBuffer, Atomics, TypedArray]
---*/

View File

@ -5,7 +5,6 @@
esid: sec-atomics.notify
description: >
Test Atomics.notify on non-shared integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/

View File

@ -14,7 +14,6 @@ info: |
...
2.b If integerIndex < 0, throw a RangeError exception
includes: [atomicsHelper.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/

View File

@ -15,7 +15,6 @@ info: |
Let primValue be ? ToPrimitive(argument, hint Number).
Return ? ToNumber(primValue).
includes: [atomicsHelper.js]
features: [Atomics, SharedArrayBuffer, Symbol, Symbol.toPrimitive, TypedArray]
flags: [CanBlockIsTrue]
---*/

View File

@ -18,7 +18,6 @@ info: |
smaller: exactly -100,000,000 days to 100,000,000 days measured relative to
midnight at the beginning of 01 January, 1970 UTC. This gives a range of
8,640,000,000,000,000 milliseconds to either side of 01 January, 1970 UTC.
includes: [propertyHelper.js]
---*/
const minDateStr = "-271821-04-20T00:00:00.000Z";

View File

@ -18,7 +18,6 @@ info: |
Date.parse(x.toString())
Date.parse(x.toUTCString())
Date.parse(x.toISOString())
includes: [propertyHelper.js]
---*/
const zero = new Date(0);

View File

@ -29,7 +29,7 @@ info: |
c. Return CreateIterResultObject(cell.[[Holdings]], false).
9. Otherwise, return CreateIterResultObject(undefined, true).
features: [FinalizationGroup, Symbol, host-gc-required]
includes: [compareArray.js, async-gc.js]
includes: [async-gc.js]
flags: [async, non-deterministic]
---*/

View File

@ -13,7 +13,7 @@ info: |
NativeFunction:
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
includes: [fnGlobalObject.js, nativeFunctionMatcher.js, wellKnownIntrinsicObjects.js]
includes: [nativeFunctionMatcher.js, wellKnownIntrinsicObjects.js]
features: [arrow-function]
---*/

View File

@ -18,9 +18,7 @@ Object.defineProperties(obj, {
}
});
if (isWritable(obj, "prop")) {
$ERROR('Expected obj["prop"] not to be writable.');
}
verifyNotWritable(obj, "prop");
if (!obj.hasOwnProperty("prop")) {
$ERROR('Expected obj.hasOwnProperty("prop") to be true, actually ' + obj.hasOwnProperty("prop"));

View File

@ -10,7 +10,7 @@ info: |
a. Let valuesArray be ! CreateArrayFromList(values).
b. Return ? Call(promiseCapability.[[Resolve]], undefined, « valuesArray »).
flags: [async]
includes: [compareArray.js, promiseHelper.js]
includes: [promiseHelper.js]
features: [Promise.allSettled]
---*/

View File

@ -3,7 +3,6 @@
/*---
description: A matching element of indices is an Array with exactly two number properties.
includes: [compareArray.js]
esid: sec-getmatchindicesarray
features: [regexp-match-indices]
info: |

View File

@ -12,7 +12,6 @@ info: |
4. Let rx be ? RegExpCreate(R, "g").
5. Return ? Invoke(rx, @@matchAll, « S »).
features: [String.prototype.matchAll]
includes: [compareArray.js, compareIterator.js, regExpUtils.js]
---*/
var callCount = 0;

View File

@ -15,7 +15,6 @@ info: |
5. Return ? Invoke(rx, @@matchAll, « S »).
features: [Symbol.matchAll, String.prototype.matchAll]
includes: [compareArray.js, compareIterator.js, regExpUtils.js]
---*/
assert.sameValue(typeof String.prototype.matchAll, "function");

View File

@ -14,7 +14,6 @@ info: |
Assert: Type(desc) is String.
Return the string-concatenation of "Symbol(", desc, and ")".
includes: [propertyHelper.js]
features: [Symbol.prototype.description]
---*/

View File

@ -14,7 +14,7 @@ info: |
b. Let kValue be ? Get(O, Pk).
c. Let mappedValue be ? Call(callbackfn, T, « kValue, k, O »).
...
includes: [testBigIntTypedArray.js, compareArray.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol, TypedArray]
---*/

View File

@ -14,7 +14,7 @@ info: |
b. Let kValue be ? Get(O, Pk).
c. Let mappedValue be ? Call(callbackfn, T, « kValue, k, O »).
...
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [Symbol, TypedArray]
---*/

View File

@ -49,7 +49,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. If int64bit 2^63, return int64bit - 2^64; otherwise return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -49,7 +49,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. Return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -3,7 +3,7 @@
/*---
esid: sec-%typedarray%.prototype.slice
description: slice may return a new empty instance
includes: [testBigIntTypedArray.js, compareArray.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -3,7 +3,7 @@
/*---
esid: sec-%typedarray%.prototype.slice
description: slice may return a new instance with the same length
includes: [testBigIntTypedArray.js, compareArray.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -3,7 +3,7 @@
/*---
esid: sec-%typedarray%.prototype.slice
description: slice may return a new empty instance
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [TypedArray]
---*/

View File

@ -3,7 +3,7 @@
/*---
esid: sec-%typedarray%.prototype.slice
description: slice may return a new instance with the same length
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [TypedArray]
---*/

View File

@ -13,7 +13,7 @@ info: |
NOTE: Because NaN always compares greater than any other value, NaN property
values always sort to the end of the result when comparefn is not provided.
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [TypedArray]
---*/

View File

@ -8,7 +8,7 @@ info: |
...
17. Return ? TypedArraySpeciesCreate(O, argumentsList).
includes: [testBigIntTypedArray.js, compareArray.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -8,7 +8,7 @@ info: |
...
17. Return ? TypedArraySpeciesCreate(O, argumentsList).
includes: [testBigIntTypedArray.js, compareArray.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -8,7 +8,7 @@ info: |
...
17. Return ? TypedArraySpeciesCreate(O, argumentsList).
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [TypedArray]
---*/

View File

@ -8,7 +8,7 @@ info: |
...
17. Return ? TypedArraySpeciesCreate(O, argumentsList).
includes: [testTypedArray.js, compareArray.js]
includes: [testTypedArray.js]
features: [TypedArray]
---*/

View File

@ -59,7 +59,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. If int64bit 2^63, return int64bit - 2^64; otherwise return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -59,7 +59,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. Return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -36,7 +36,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
{
value: {
valueOf: function() {
$262.detachArrayBuffer(ta.buffer);
$DETACHBUFFER(ta.buffer);
return 42n;
}
}

View File

@ -36,7 +36,7 @@ testWithTypedArrayConstructors(function(TA) {
{
value: {
valueOf: function() {
$262.detachArrayBuffer(ta.buffer);
$DETACHBUFFER(ta.buffer);
return 42;
}
}

View File

@ -23,7 +23,7 @@ info: |
5. If parent is not null, then
a. Return ? parent.[[HasProperty]](P).
6. Return false.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, Proxy, TypedArray]
---*/

View File

@ -23,7 +23,7 @@ info: |
5. If parent is not null, then
a. Return ? parent.[[HasProperty]](P).
6. Return false.
includes: [testTypedArray.js, detachArrayBuffer.js]
includes: [testTypedArray.js]
features: [Reflect, Proxy, TypedArray]
---*/

View File

@ -65,7 +65,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. If int64bit 2^63, return int64bit - 2^64; otherwise return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -65,7 +65,6 @@ info: |
2. Let int64bit be n modulo 2^64.
3. Return int64bit.
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

View File

@ -32,7 +32,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Reflect.set(ta, 0, {
valueOf: function() {
$262.detachArrayBuffer(ta.buffer);
$DETACHBUFFER(ta.buffer);
return 42n;
}
});

View File

@ -32,7 +32,7 @@ testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Reflect.set(ta, 0, {
valueOf: function() {
$262.detachArrayBuffer(ta.buffer);
$DETACHBUFFER(ta.buffer);
return 42;
}
});

View File

@ -11,7 +11,6 @@ info: |
9. Repeat
k. Let status be Call(adder, map, «k.[[value]], v.[[value]]»).
l. If status is an abrupt completion, return IteratorClose(iter, status).
includes: [compareArray.js]
---*/
var first = {};

View File

@ -11,7 +11,6 @@ info: |
9. Repeat
f. Let status be Call(adder, set, «nextValue»).
g. If status is an abrupt completion, return IteratorClose(iter, status).
includes: [compareArray.js]
---*/
var first = {};

View File

@ -7,7 +7,6 @@ description: >
Tests that the options numberingSystem and calendar can be set through
either the locale or the options.
author: Norbert Lindenberg, Daniel Ehrenberg
includes: [testIntl.js]
---*/
let defaultLocale = new Intl.DateTimeFormat().resolvedOptions().locale;

View File

@ -8,7 +8,6 @@ info: |
8.2.1 Intl.getCanonicalLocales (locales)
1. Let ll be ? CanonicalizeLocaleList(locales).
2. Return CreateArrayFromList(ll).
includes: [compareArray.js]
features: [Symbol]
---*/

View File

@ -7,7 +7,6 @@ description: Checks various cases for the locales argument to the ListFormat con
info: |
InitializeListFormat (listFormat, locales, options)
1. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
includes: [testIntl.js]
features: [Intl.ListFormat]
---*/

View File

@ -7,7 +7,6 @@ description: >
Tests that the options numberingSystem and calendar can be set through
either the locale or the options.
author: Norbert Lindenberg, Daniel Ehrenberg
includes: [testIntl.js]
---*/
let defaultLocale = new Intl.NumberFormat().resolvedOptions().locale;

View File

@ -6,7 +6,7 @@ esid: sec-Intl.PluralRules.prototype.resolvedOptions
description: >
Tests that Intl.PluralRules.prototype.resolvedOptions creates a new array
for the pluralCategories property on every call.
includes: [testIntl.js, propertyHelper.js, compareArray.js]
includes: [propertyHelper.js, compareArray.js]
---*/
const allowedValues = ["zero", "one", "two", "few", "many", "other"];

View File

@ -7,7 +7,6 @@ description: Checks various cases for the locales argument to the RelativeTimeFo
info: |
InitializeRelativeTimeFormat (relativeTimeFormat, locales, options)
3. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
includes: [testIntl.js]
features: [Intl.RelativeTimeFormat]
---*/

View File

@ -8,7 +8,6 @@ info: |
Intl.Segmenter ([ locales [ , options ]])
3. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
includes: [testIntl.js]
features: [Intl.Segmenter]
---*/

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Named async generator
esid: prod-AsyncGeneratorExpression
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
Async Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Unnamed async generato
esid: prod-AsyncGeneratorExpression
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
Async Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static async generator
esid: prod-AsyncGeneratorMethod
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
static MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async generator method
esid: prod-AsyncGeneratorMethod
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static async generator
esid: prod-AsyncGeneratorPrivateMethod
features: [object-spread, async-iteration, class-static-methods-private]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
static PrivateMethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async generator method
esid: prod-AsyncGeneratorPrivateMethod
features: [object-spread, async-iteration, class-methods-private]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
PrivateMethodDefinition

View File

@ -5,7 +5,6 @@
description: Static private methods not accessible via default Proxy handler
esid: prod-FieldDefinition
features: [class, class-static-methods-private]
includes: [propertyHelper.js]
info: |
ClassElement :
...

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static generator priva
esid: prod-GeneratorPrivateMethod
features: [object-spread, generators, class-static-methods-private]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
static PrivateMethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator private meth
esid: prod-GeneratorPrivateMethod
features: [object-spread, generators, class-methods-private]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
PrivateMethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static generator metho
esid: prod-GeneratorMethod
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
static MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator method as a
esid: prod-GeneratorMethod
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
MethodDefinition

View File

@ -6,7 +6,6 @@ description: Module namespace objects are not extensible. (value from await reso
esid: sec-finishdynamicimport
features: [dynamic-import]
flags: [generated, async]
includes: [propertyHelper.js]
info: |
Runtime Semantics: FinishDynamicImport ( referencingScriptOrModule, specifier, promiseCapability, completion )

View File

@ -6,7 +6,6 @@ description: Module namespace objects are not extensible. (value from promise th
esid: sec-finishdynamicimport
features: [dynamic-import]
flags: [generated, async]
includes: [propertyHelper.js]
info: |
Runtime Semantics: FinishDynamicImport ( referencingScriptOrModule, specifier, promiseCapability, completion )

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Named generator expres
esid: prod-GeneratorExpression
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
14.4 Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Unnamed generator expr
esid: prod-GeneratorExpression
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
14.4 Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async generator method
esid: prod-AsyncGeneratorMethod
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
Async Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator method)
esid: prod-GeneratorMethod
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
14.4 Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async generator Functi
esid: prod-AsyncGeneratorDeclaration
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
Async Generator Function Definitions

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static async generator
esid: prod-AsyncGeneratorMethod
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
static MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async Generator method
esid: prod-AsyncGeneratorMethod
features: [object-spread, async-iteration]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static async generator
esid: prod-AsyncGeneratorPrivateMethod
features: [object-spread, async-iteration, class-static-methods-private]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
static PrivateMethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Async Generator method
esid: prod-AsyncGeneratorPrivateMethod
features: [object-spread, async-iteration, class-methods-private]
flags: [generated, async]
includes: [compareArray.js]
info: |
ClassElement :
PrivateMethodDefinition

View File

@ -13,7 +13,6 @@ info: |
a. Assert: IsPropertyKey(fieldName) is true.
b. Perform ? CreateDataPropertyOrThrow(receiver, fieldName, initValue).
10. Return.
includes: [compareArray.js]
features: [class, class-fields-public]
flags: [onlyStrict]
---*/

View File

@ -39,7 +39,6 @@ info: |
3. Let newDesc be the PropertyDescriptor { [[Value]]: V, [[Writable]]: true, [[Enumerable]]: true,
[[Configurable]]: true }.
4. Return ? O.[[DefineOwnProperty]](P, newDesc).
includes: [propertyHelper.js]
---*/
var x = "constructor";

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static generator priva
esid: prod-GeneratorPrivateMethod
features: [object-spread, generators, class-static-methods-private]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
static PrivateMethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator private meth
esid: prod-GeneratorPrivateMethod
features: [object-spread, generators, class-methods-private]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
PrivateMethodDefinition

View File

@ -13,7 +13,6 @@ info: |
a. Assert: IsPropertyKey(fieldName) is true.
b. Perform ? CreateDataPropertyOrThrow(receiver, fieldName, initValue).
10. Return.
includes: [compareArray.js]
features: [class, class-fields-private, class-fields-public]
flags: [onlyStrict]
---*/

View File

@ -13,7 +13,6 @@ info: |
a. Assert: IsPropertyKey(fieldName) is true.
b. Perform ? CreateDataPropertyOrThrow(receiver, fieldName, initValue).
10. Return.
includes: [propertyHelper.js]
features: [class, class-fields-public]
---*/

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Static generator metho
esid: prod-GeneratorMethod
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
static MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator method as a
esid: prod-GeneratorMethod
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
ClassElement :
MethodDefinition

View File

@ -6,7 +6,6 @@ description: Use yield value in a object spread position (Generator Function dec
esid: prod-GeneratorDeclaration
features: [object-spread, generators]
flags: [generated]
includes: [compareArray.js]
info: |
14.4 Generator Function Definitions