mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 793250 - clean up after test_download_samename.js (r=wesj)
--- .../downloads/test/unit/test_download_samename.js | 11 +++++++++++ 1 file changed, 11 insertions(+)
This commit is contained in:
parent
19c88d3a3a
commit
a2c3a969b4
@ -90,6 +90,17 @@ let DownloadListener = {
|
||||
function runNextTest()
|
||||
{
|
||||
if (currentTest == tests.length) {
|
||||
for each (var file in DownloadListener.prevFiles) {
|
||||
try {
|
||||
file.remove(false);
|
||||
} catch (ex) {
|
||||
try {
|
||||
do_report_unexpected_exception(ex, "while removing " + file.path);
|
||||
} catch (ex if ex == Components.results.NS_ERROR_ABORT) {
|
||||
/* swallow */
|
||||
}
|
||||
}
|
||||
}
|
||||
httpserver.stop(do_test_finished);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user