@@ -1271,28 +1271,13 @@ class WasmEMCCBenchmark extends AsyncBenchmark {
1271
1271
postRun: [],
1272
1272
noInitialRun: true,
1273
1273
print: print,
1274
- printErr: printErr,
1275
- setStatus: function(text) {
1276
- },
1277
- totalDependencies: 0,
1278
- monitorRunDependencies: function(left) {
1279
- this.totalDependencies = Math.max(this.totalDependencies, left);
1280
- Module.setStatus(left ? 'Preparing... (' + (this.totalDependencies-left) + '/' + this.totalDependencies + ')' : 'All downloads complete.');
1281
- },
1274
+ printErr: printErr
1282
1275
};
1283
1276
1284
1277
globalObject.Module = Module;
1285
1278
${ super . prerunCode } ;
1286
1279
` ;
1287
1280
1288
- if ( isSpiderMonkey ) {
1289
- str += `
1290
- // Needed because SpiderMonkey shell doesn't have a setTimeout.
1291
- Module.setStatus = null;
1292
- Module.monitorRunDependencies = null;
1293
- ` ;
1294
- }
1295
-
1296
1281
return str ;
1297
1282
}
1298
1283
} ;
@@ -1413,14 +1398,7 @@ class WasmLegacyBenchmark extends Benchmark {
1413
1398
preRun: [],
1414
1399
postRun: [],
1415
1400
print: globalObject.print,
1416
- printErr: globalObject.print,
1417
- setStatus: function(text) {
1418
- },
1419
- totalDependencies: 0,
1420
- monitorRunDependencies: function(left) {
1421
- this.totalDependencies = Math.max(this.totalDependencies, left);
1422
- Module.setStatus(left ? 'Preparing... (' + (this.totalDependencies-left) + '/' + this.totalDependencies + ')' : 'All downloads complete.');
1423
- }
1401
+ printErr: globalObject.print
1424
1402
};
1425
1403
globalObject.Module = Module;
1426
1404
` ;
@@ -1451,9 +1429,6 @@ class WasmLegacyBenchmark extends Benchmark {
1451
1429
};
1452
1430
};
1453
1431
1454
- Module.setStatus = null;
1455
- Module.monitorRunDependencies = null;
1456
-
1457
1432
Promise.resolve(42).then(() => {
1458
1433
try {
1459
1434
andThen();
0 commit comments