@@ -322,26 +322,46 @@ var nonAtomicsFriendlyTypedArrayConstructors = floatArrayConstructors.concat([Ui
322322 * 
323323 * @param  {typedArrayConstructorCallback } f - the function to call for each typed array constructor. 
324324 * @param  {Array } selected - An optional Array with filtered typed arrays 
325+  * @param  {typedArrayArgFactoryFeature[] } [includeArgFactories] - for selecting 
326+  *   initial constructor argument factory functions, rather than starting with 
327+  *   all argument factories 
328+  * @param  {typedArrayArgFactoryFeature[] } [excludeArgFactories] - for excluding 
329+  *   constructor argument factory functions, after an initial selection 
325330 */ 
326- function  testWithNonAtomicsFriendlyTypedArrayConstructors ( f )  { 
327-   testWithTypedArrayConstructors ( f ,  nonAtomicsFriendlyTypedArrayConstructors ) ; 
331+ function  testWithNonAtomicsFriendlyTypedArrayConstructors ( f ,  includeArgFactories ,  excludeArgFactories )  { 
332+   testWithAllTypedArrayConstructors ( 
333+     f , 
334+     nonAtomicsFriendlyTypedArrayConstructors , 
335+     includeArgFactories , 
336+     excludeArgFactories 
337+   ) ; 
328338} 
329339
330340/** 
331341 * Calls the provided function for every "Atomics Friendly" typed array constructor. 
332342 * 
333343 * @param  {typedArrayConstructorCallback } f - the function to call for each typed array constructor. 
334344 * @param  {Array } selected - An optional Array with filtered typed arrays 
345+  * @param  {typedArrayArgFactoryFeature[] } [includeArgFactories] - for selecting 
346+  *   initial constructor argument factory functions, rather than starting with 
347+  *   all argument factories 
348+  * @param  {typedArrayArgFactoryFeature[] } [excludeArgFactories] - for excluding 
349+  *   constructor argument factory functions, after an initial selection 
335350 */ 
336- function  testWithAtomicsFriendlyTypedArrayConstructors ( f )  { 
337-   testWithTypedArrayConstructors ( f ,  [ 
338-     Int32Array , 
339-     Int16Array , 
340-     Int8Array , 
341-     Uint32Array , 
342-     Uint16Array , 
343-     Uint8Array , 
344-   ] ) ; 
351+ function  testWithAtomicsFriendlyTypedArrayConstructors ( f ,  includeArgFactories ,  excludeArgFactories )  { 
352+   testWithAllTypedArrayConstructors ( 
353+     f , 
354+     [ 
355+       Int32Array , 
356+       Int16Array , 
357+       Int8Array , 
358+       Uint32Array , 
359+       Uint16Array , 
360+       Uint8Array , 
361+     ] , 
362+     includeArgFactories , 
363+     excludeArgFactories 
364+   ) ; 
345365} 
346366
347367/** 
@@ -368,7 +388,7 @@ function testTypedArrayConversions(byteConversionValues, fn) {
368388      } 
369389      fn ( TA ,  value ,  exp ,  initial ) ; 
370390    } ) ; 
371-   } ) ; 
391+   } ,   null ,   [ "passthrough" ] ) ; 
372392} 
373393
374394/** 
0 commit comments