Bug 1144725 - Forcefully terminate the workers used in DOM cache tests once we're done with them; r=bkelly

This commit is contained in:
Ehsan Akhgari 2015-03-18 17:44:12 -04:00
parent c7ce5ec18d
commit 49d9bd179e

View File

@ -33,6 +33,7 @@ function workerTestExec(script) {
is(event.data.context, "Worker",
"Correct context for messages received on the worker");
if (event.data.type == 'finish') {
worker.terminate();
SpecialPowers.forceGC();
resolve();