Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 load(libdir + "parallelarray-helpers.js");
3 function testMap() {
4 var p = range(0, minItemsTestingThreshold);
5 var v = [1];
6 var func = function (e) {
7 v[0] = e;
8 return 0;
9 };
11 // this will compile, but fail at runtime
12 assertParallelExecWillBail(m => p.mapPar(func, m));
13 }
15 if (getBuildConfiguration().parallelJS)
16 testMap();