@@ -1271,28 +1271,13 @@ class WasmEMCCBenchmark extends AsyncBenchmark {
12711271 postRun: [],
12721272 noInitialRun: true,
12731273 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
12821275 };
12831276
12841277 globalObject.Module = Module;
12851278 ${ super . prerunCode } ;
12861279 ` ;
12871280
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-
12961281 return str ;
12971282 }
12981283} ;
@@ -1413,14 +1398,7 @@ class WasmLegacyBenchmark extends Benchmark {
14131398 preRun: [],
14141399 postRun: [],
14151400 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
14241402 };
14251403 globalObject.Module = Module;
14261404 ` ;
@@ -1451,9 +1429,6 @@ class WasmLegacyBenchmark extends Benchmark {
14511429 };
14521430 };
14531431
1454- Module.setStatus = null;
1455- Module.monitorRunDependencies = null;
1456-
14571432 Promise.resolve(42).then(() => {
14581433 try {
14591434 andThen();
0 commit comments