Atomics: fix mispelled harness function name

This commit is contained in:
Rick Waldron 2020-05-21 09:38:20 -04:00
parent 4adc41eccf
commit 7e603ae236
10 changed files with 11 additions and 11 deletions

View File

@ -9,7 +9,7 @@ defines:
- intArrayConstructors - intArrayConstructors
- TypedArray - TypedArray
- testWithTypedArrayConstructors - testWithTypedArrayConstructors
- testWithNonSharableTypedArrayConstructors - testWithNonShareableTypedArrayConstructors
- testTypedArrayConversions - testTypedArrayConversions
---*/ ---*/
@ -68,7 +68,7 @@ function testWithTypedArrayConstructors(f, selected) {
* @param {typedArrayConstructorCallback} f - the function to call for each typed array constructor. * @param {typedArrayConstructorCallback} f - the function to call for each typed array constructor.
* @param {Array} selected - An optional Array with filtered typed arrays * @param {Array} selected - An optional Array with filtered typed arrays
*/ */
function testWithNonSharableTypedArrayConstructors(f) { function testWithNonShareableTypedArrayConstructors(f) {
testWithTypedArrayConstructors(f, [ testWithTypedArrayConstructors(f, [
Float64Array, Float64Array,
Float32Array, Float32Array,

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {
Atomics.load(view, 0); Atomics.load(view, 0);

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(16); const buffer = new ArrayBuffer(16);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {

View File

@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4); const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
testWithNonSharableTypedArrayConstructors(function(TA) { testWithNonShareableTypedArrayConstructors(function(TA) {
const view = new TA(buffer); const view = new TA(buffer);
assert.throws(TypeError, function() { assert.throws(TypeError, function() {