From 1df8797a6bc27d4955f709c79daa3944c2fe1e9e Mon Sep 17 00:00:00 2001 From: Gus Caplan <me@gus.host> Date: Mon, 26 Nov 2018 20:02:02 -0600 Subject: [PATCH] add WeakSet to feature list where its used in Set tests --- .../add/does-not-have-setdata-internal-slot-weakset.js | 2 +- .../clear/does-not-have-setdata-internal-slot-weakset.js | 2 +- .../delete/does-not-have-setdata-internal-slot-weakset.js | 2 +- .../entries/does-not-have-setdata-internal-slot-weakset.js | 1 + .../forEach/does-not-have-setdata-internal-slot-weakset.js | 2 +- .../has/does-not-have-setdata-internal-slot-weakset.js | 2 +- .../values/does-not-have-setdata-internal-slot-weakset.js | 1 + 7 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test/built-ins/Set/prototype/add/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/add/does-not-have-setdata-internal-slot-weakset.js index 8d7734f17a..601345e728 100644 --- a/test/built-ins/Set/prototype/add/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/add/does-not-have-setdata-internal-slot-weakset.js @@ -8,7 +8,7 @@ description: > ... 3. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... - +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/clear/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/clear/does-not-have-setdata-internal-slot-weakset.js index 8c603efebc..00d659aa96 100644 --- a/test/built-ins/Set/prototype/clear/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/clear/does-not-have-setdata-internal-slot-weakset.js @@ -8,7 +8,7 @@ description: > ... 3. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... - +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/delete/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/delete/does-not-have-setdata-internal-slot-weakset.js index 0a644eb3ee..5e436f9f91 100644 --- a/test/built-ins/Set/prototype/delete/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/delete/does-not-have-setdata-internal-slot-weakset.js @@ -8,7 +8,7 @@ description: > ... 3. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... - +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/entries/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/entries/does-not-have-setdata-internal-slot-weakset.js index e2dfc406a6..2c8c888f8f 100644 --- a/test/built-ins/Set/prototype/entries/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/entries/does-not-have-setdata-internal-slot-weakset.js @@ -14,6 +14,7 @@ description: > ... 2. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/forEach/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/forEach/does-not-have-setdata-internal-slot-weakset.js index 9e19cd2638..8dca9716fc 100644 --- a/test/built-ins/Set/prototype/forEach/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/forEach/does-not-have-setdata-internal-slot-weakset.js @@ -8,7 +8,7 @@ description: > ... 3. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... - +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/has/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/has/does-not-have-setdata-internal-slot-weakset.js index cc467f112c..8a27404e0a 100644 --- a/test/built-ins/Set/prototype/has/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/has/does-not-have-setdata-internal-slot-weakset.js @@ -8,7 +8,7 @@ description: > ... 3. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... - +features: [WeakSet] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Set/prototype/values/does-not-have-setdata-internal-slot-weakset.js b/test/built-ins/Set/prototype/values/does-not-have-setdata-internal-slot-weakset.js index dce6c250b2..6a521b5ee2 100644 --- a/test/built-ins/Set/prototype/values/does-not-have-setdata-internal-slot-weakset.js +++ b/test/built-ins/Set/prototype/values/does-not-have-setdata-internal-slot-weakset.js @@ -14,6 +14,7 @@ description: > ... 2. If S does not have a [[SetData]] internal slot, throw a TypeError exception. ... +features: [WeakSet] ---*/ assert.throws(TypeError, function() { -- GitLab