mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1144725 - Forcefully terminate the workers used in DOM cache tests once we're done with them; r=bkelly
This commit is contained in:
parent
c7ce5ec18d
commit
49d9bd179e
1
dom/cache/test/mochitest/worker_driver.js
vendored
1
dom/cache/test/mochitest/worker_driver.js
vendored
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user