From 79283bd80fd8a45fea3122760bea020e29736c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 17 Jan 2018 10:39:19 -0800 Subject: [PATCH] Add missing 'SharedArrayBuffer' feature tag --- .../prototype/byteLength/this-is-sharedarraybuffer.js | 1 + .../ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js | 1 + test/built-ins/TypedArrays/internals/Get/indexed-value-sab.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/built-ins/ArrayBuffer/prototype/byteLength/this-is-sharedarraybuffer.js b/test/built-ins/ArrayBuffer/prototype/byteLength/this-is-sharedarraybuffer.js index 7cbf278ccd..2867d8360e 100644 --- a/test/built-ins/ArrayBuffer/prototype/byteLength/this-is-sharedarraybuffer.js +++ b/test/built-ins/ArrayBuffer/prototype/byteLength/this-is-sharedarraybuffer.js @@ -4,6 +4,7 @@ /*--- esid: sec-get-arraybuffer.prototype.bytelength description: Throws a TypeError exception when `this` is a SharedArrayBuffer +features: [SharedArrayBuffer] ---*/ var getter = Object.getOwnPropertyDescriptor( diff --git a/test/built-ins/ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js b/test/built-ins/ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js index 3e9fe66cb1..ba91860688 100644 --- a/test/built-ins/ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js +++ b/test/built-ins/ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js @@ -5,6 +5,7 @@ esid: sec-arraybuffer.prototype.slice description: > Throws a TypeError if `this` is a SharedArrayBuffer +features: [SharedArrayBuffer] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/TypedArrays/internals/Get/indexed-value-sab.js b/test/built-ins/TypedArrays/internals/Get/indexed-value-sab.js index f5fd9602e9..6145da9e24 100644 --- a/test/built-ins/TypedArrays/internals/Get/indexed-value-sab.js +++ b/test/built-ins/TypedArrays/internals/Get/indexed-value-sab.js @@ -6,7 +6,7 @@ esid: sec-integer-indexed-exotic-objects-get-p-receiver description: > Return value from valid numeric index, with SharedArrayBuffer includes: [testTypedArray.js] -features: [TypedArray] +features: [TypedArray, SharedArrayBuffer] ---*/ var proto = TypedArray.prototype;