diff --git a/test/built-ins/AsyncFromSyncIteratorPrototype/next/return-promise.js b/test/built-ins/AsyncFromSyncIteratorPrototype/next/return-promise.js index d3bb1be2f4d54a20c93461dbf76ca6d6c199b848..f4daeb01bceb4cd8ec048d7ff507c18ad149387a 100644 --- a/test/built-ins/AsyncFromSyncIteratorPrototype/next/return-promise.js +++ b/test/built-ins/AsyncFromSyncIteratorPrototype/next/return-promise.js @@ -12,7 +12,6 @@ info: | ... 18. Return promiseCapability.[[Promise]]. -flags: [async] features: [async-iteration] ---*/ diff --git a/test/built-ins/AsyncFromSyncIteratorPrototype/return/iterator-result-unwrap-promise.js b/test/built-ins/AsyncFromSyncIteratorPrototype/return/iterator-result-unwrap-promise.js index 08ed58ec30870fe38e6112db815cb78a21b39e9c..311b93a8f62dbb9215891d3d27abf08031de42a6 100644 --- a/test/built-ins/AsyncFromSyncIteratorPrototype/return/iterator-result-unwrap-promise.js +++ b/test/built-ins/AsyncFromSyncIteratorPrototype/return/iterator-result-unwrap-promise.js @@ -60,4 +60,5 @@ iter.next().then(function (result) { }).then($DONE, $DONE); } ).catch($DONE); -}).then($DONE, $DONE); + +}).catch($DONE); diff --git a/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-unwrap-promise.js b/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-unwrap-promise.js index 521f513111860f50fc7085b6309a8dbb05ff18a7..f345682393bec50996f779a94910a76a03685979 100644 --- a/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-unwrap-promise.js +++ b/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-unwrap-promise.js @@ -62,4 +62,4 @@ iter.next().then(function (result) { }).then($DONE, $DONE); } ).catch($DONE); -}).then($DONE, $DONE); +}).catch($DONE); diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js index 1c916b43cdf332e338bc0280d50df49767b5dd67..0a2c1d6572b9d70b8f738648fa053a99e48e20f1 100644 --- a/test/built-ins/TypedArrays/ctors/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js +++ b/test/built-ins/TypedArrays/ctors/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js @@ -22,6 +22,12 @@ features: [TypedArray] var buffer = new ArrayBuffer(1); testWithTypedArrayConstructors(function(TA) { + + // Exclude 8 bit buffers from this tests, as their elementSize = 1 + if ( TA.name.indexOf("8") > -1 ) { + return; + } + assert.throws(RangeError, function() { new TA(buffer); }); diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/byteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors/buffer-arg/byteoffset-throws-from-modulo-element-size.js index f495e6bcc00d874bb9c33302e37f837eb3d9ea93..1f68c09b3a4cc7000f7313c21d42866fb766fcf4 100644 --- a/test/built-ins/TypedArrays/ctors/buffer-arg/byteoffset-throws-from-modulo-element-size.js +++ b/test/built-ins/TypedArrays/ctors/buffer-arg/byteoffset-throws-from-modulo-element-size.js @@ -21,6 +21,12 @@ features: [TypedArray] var buffer = new ArrayBuffer(8); testWithTypedArrayConstructors(function(TA) { + + // Exclude 8 bit buffers from this tests, as their elementSize = 1 + if ( TA.name.indexOf("8") > -1 ) { + return; + } + assert.throws(RangeError, function() { new TA(buffer, 7); });