From f717982c948bd1a3d3158eab2129db03b1dad688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 17 Jan 2018 10:39:18 -0800 Subject: [PATCH] Remove unused includes --- test/annexB/language/expressions/object/__proto__-fn-name.js | 1 - test/built-ins/ArrayBuffer/isView/prop-desc.js | 2 +- test/built-ins/Map/prototype/size/this-not-object-throw.js | 1 - test/built-ins/Number/NEGATIVE_INFINITY/value.js | 1 - test/built-ins/Number/POSITIVE_INFINITY/value.js | 1 - test/built-ins/Promise/all/S25.4.4.1_A8.2_T1.js | 1 - test/built-ins/Promise/all/S25.4.4.1_A8.2_T2.js | 1 - .../Promise/resolve/S25.Promise_resolve_foreign_thenable_1.js | 3 --- .../RegExp/named-groups/groups-object-subclass-sans.js | 1 - test/built-ins/RegExp/named-groups/groups-object-subclass.js | 1 - test/built-ins/RegExp/named-groups/groups-object-unmatched.js | 1 - test/built-ins/Symbol/species/builtin-getter-name.js | 2 -- test/built-ins/Symbol/species/subclassing.js | 2 -- test/built-ins/global/global-object.js | 1 - .../statements/class/definition/fn-name-static-precedence.js | 1 - .../statements/class/subclass/builtin-objects/Array/length.js | 1 - 16 files changed, 1 insertion(+), 20 deletions(-) diff --git a/test/annexB/language/expressions/object/__proto__-fn-name.js b/test/annexB/language/expressions/object/__proto__-fn-name.js index a2059f2c6c..a99d16e59a 100644 --- a/test/annexB/language/expressions/object/__proto__-fn-name.js +++ b/test/annexB/language/expressions/object/__proto__-fn-name.js @@ -15,7 +15,6 @@ info: | a. Let hasNameProperty be HasOwnProperty(propValue, "name"). b. ReturnIfAbrupt(hasNameProperty). c. If hasNameProperty is false, perform SetFunctionName(propValue, propKey). -includes: [propertyHelper.js] ---*/ var o; diff --git a/test/built-ins/ArrayBuffer/isView/prop-desc.js b/test/built-ins/ArrayBuffer/isView/prop-desc.js index 6b35457b7d..7428e161f6 100644 --- a/test/built-ins/ArrayBuffer/isView/prop-desc.js +++ b/test/built-ins/ArrayBuffer/isView/prop-desc.js @@ -9,7 +9,7 @@ info: | ES6 section 17: Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. -includes: [propertyHelper.js, testTypedArray.js] +includes: [propertyHelper.js] ---*/ verifyNotEnumerable(ArrayBuffer, "isView"); diff --git a/test/built-ins/Map/prototype/size/this-not-object-throw.js b/test/built-ins/Map/prototype/size/this-not-object-throw.js index ccaf15d4a0..12cc301b33 100644 --- a/test/built-ins/Map/prototype/size/this-not-object-throw.js +++ b/test/built-ins/Map/prototype/size/this-not-object-throw.js @@ -13,7 +13,6 @@ info: | exception. ... -includes: [propertyHelper.js] features: [Symbol] ---*/ diff --git a/test/built-ins/Number/NEGATIVE_INFINITY/value.js b/test/built-ins/Number/NEGATIVE_INFINITY/value.js index 53f613baf6..a6bef12865 100644 --- a/test/built-ins/Number/NEGATIVE_INFINITY/value.js +++ b/test/built-ins/Number/NEGATIVE_INFINITY/value.js @@ -10,7 +10,6 @@ info: | Number.NEGATIVE_INFINITY The value of Number.NEGATIVE_INFINITY is -∞. -includes: [propertyHelper.js] ---*/ assert.sameValue(Number.NEGATIVE_INFINITY, -Infinity); diff --git a/test/built-ins/Number/POSITIVE_INFINITY/value.js b/test/built-ins/Number/POSITIVE_INFINITY/value.js index 0d6163a477..f4bdb37d71 100644 --- a/test/built-ins/Number/POSITIVE_INFINITY/value.js +++ b/test/built-ins/Number/POSITIVE_INFINITY/value.js @@ -10,7 +10,6 @@ info: | Number.POSITIVE_INFINITY The value of Number.POSITIVE_INFINITY is +∞. -includes: [propertyHelper.js] ---*/ assert.sameValue(Number.POSITIVE_INFINITY, Infinity); diff --git a/test/built-ins/Promise/all/S25.4.4.1_A8.2_T1.js b/test/built-ins/Promise/all/S25.4.4.1_A8.2_T1.js index c77d3336f6..77d087034c 100644 --- a/test/built-ins/Promise/all/S25.4.4.1_A8.2_T1.js +++ b/test/built-ins/Promise/all/S25.4.4.1_A8.2_T1.js @@ -7,7 +7,6 @@ info: | es6id: S25.4.4.1_A8.1_T1 author: Sam Mikes description: Promise.all() rejects when a promise in its array rejects -includes: [promiseHelper.js] flags: [async] ---*/ diff --git a/test/built-ins/Promise/all/S25.4.4.1_A8.2_T2.js b/test/built-ins/Promise/all/S25.4.4.1_A8.2_T2.js index 374d8fbfc3..bb700ae464 100644 --- a/test/built-ins/Promise/all/S25.4.4.1_A8.2_T2.js +++ b/test/built-ins/Promise/all/S25.4.4.1_A8.2_T2.js @@ -7,7 +7,6 @@ info: | es6id: S25.4.4.1_A8.2_T2 author: Sam Mikes description: Promise.all() rejects when second promise in array rejects -includes: [promiseHelper.js] flags: [async] ---*/ diff --git a/test/built-ins/Promise/resolve/S25.Promise_resolve_foreign_thenable_1.js b/test/built-ins/Promise/resolve/S25.Promise_resolve_foreign_thenable_1.js index 648d7966db..61f5e7eae8 100644 --- a/test/built-ins/Promise/resolve/S25.Promise_resolve_foreign_thenable_1.js +++ b/test/built-ins/Promise/resolve/S25.Promise_resolve_foreign_thenable_1.js @@ -7,12 +7,9 @@ info: | es6id: S25.4.4.5 author: Sam Mikes description: Promise.resolve delegates to foreign thenable -includes: [promiseHelper.js] flags: [async] ---*/ -var sequence = []; - var thenable = { then: function(onResolve, onReject) { return onResolve('resolved'); diff --git a/test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js b/test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js index 7a69b281d8..4542868a8c 100644 --- a/test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js +++ b/test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js @@ -4,7 +4,6 @@ /*--- description: > Test the groups object on RegExp subclass results that do not have their own. -includes: [propertyHelper.js] esid: sec-regexpbuiltinexec features: [regexp-named-groups] info: | diff --git a/test/built-ins/RegExp/named-groups/groups-object-subclass.js b/test/built-ins/RegExp/named-groups/groups-object-subclass.js index 968e7c153e..ab3da38e9f 100644 --- a/test/built-ins/RegExp/named-groups/groups-object-subclass.js +++ b/test/built-ins/RegExp/named-groups/groups-object-subclass.js @@ -4,7 +4,6 @@ /*--- description: > Test the groups object on RegExp subclass results that have their own. -includes: [propertyHelper.js] esid: sec-regexpbuiltinexec features: [regexp-named-groups] info: | diff --git a/test/built-ins/RegExp/named-groups/groups-object-unmatched.js b/test/built-ins/RegExp/named-groups/groups-object-unmatched.js index 2c7dc53c3b..fb0bdca8ff 100644 --- a/test/built-ins/RegExp/named-groups/groups-object-unmatched.js +++ b/test/built-ins/RegExp/named-groups/groups-object-unmatched.js @@ -4,7 +4,6 @@ /*--- description: > Test the groups object with matched and unmatched named captures. -includes: [propertyHelper.js] esid: sec-regexpbuiltinexec features: [regexp-named-groups] info: | diff --git a/test/built-ins/Symbol/species/builtin-getter-name.js b/test/built-ins/Symbol/species/builtin-getter-name.js index aa61d3c55f..b0e1dcb4ca 100644 --- a/test/built-ins/Symbol/species/builtin-getter-name.js +++ b/test/built-ins/Symbol/species/builtin-getter-name.js @@ -7,8 +7,6 @@ info: | es6id: 21.2.4.2, 22.1.2.5, 22.2.2.4, 23.1.2.2, 23.2.2.2 author: Sam Mikes description: Symbol.species getters have defined names -includes: - - propertyHelper.js features: [Symbol.species] ---*/ diff --git a/test/built-ins/Symbol/species/subclassing.js b/test/built-ins/Symbol/species/subclassing.js index 7d20d7a751..d6a13d4983 100644 --- a/test/built-ins/Symbol/species/subclassing.js +++ b/test/built-ins/Symbol/species/subclassing.js @@ -6,8 +6,6 @@ info: | Symbol.species is retained on subclassing author: Sam Mikes description: Symbol.species is retained on subclassing -includes: - - propertyHelper.js features: [Symbol.species] ---*/ diff --git a/test/built-ins/global/global-object.js b/test/built-ins/global/global-object.js index d3efe5415c..cb5146827e 100644 --- a/test/built-ins/global/global-object.js +++ b/test/built-ins/global/global-object.js @@ -5,7 +5,6 @@ esid: sec-other-properties-of-the-global-object-global description: "'global' should be the global object" author: Jordan Harband -includes: [propertyHelper.js] ---*/ assert.sameValue(this, global); diff --git a/test/language/statements/class/definition/fn-name-static-precedence.js b/test/language/statements/class/definition/fn-name-static-precedence.js index de6a96c674..09a97efc5b 100644 --- a/test/language/statements/class/definition/fn-name-static-precedence.js +++ b/test/language/statements/class/definition/fn-name-static-precedence.js @@ -13,7 +13,6 @@ info: | 5. ReturnIfAbrupt(hasNameProperty). 6. If hasNameProperty is false, then perform SetFunctionName(value, className). -includes: [propertyHelper.js] features: [generators] ---*/ diff --git a/test/language/statements/class/subclass/builtin-objects/Array/length.js b/test/language/statements/class/subclass/builtin-objects/Array/length.js index 982b2798dc..09b0bad10f 100644 --- a/test/language/statements/class/subclass/builtin-objects/Array/length.js +++ b/test/language/statements/class/subclass/builtin-objects/Array/length.js @@ -13,7 +13,6 @@ info: | The length property initially has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: false }. -includes: [propertyHelper.js] ---*/ class Ar extends Array {}