mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 713294 - send quit-application in test_privatebrowsing_downloadLastDir_c.js. r=mak.
This commit is contained in:
parent
0de1d98af2
commit
e4e5bfcaae
@ -153,6 +153,10 @@ function run_test()
|
||||
do_check_eq(gDownloadLastDir.file.path, dir3.path);
|
||||
|
||||
// cleanup
|
||||
Cc["@mozilla.org/observer-service;1"]
|
||||
.getService(Ci.nsIObserverService)
|
||||
.notifyObservers(null, "quit-application", null);
|
||||
|
||||
prefsService.clearUserPref("browser.privatebrowsing.keep_current_session");
|
||||
[dir1, dir2, dir3].forEach(function(dir) dir.remove(true));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user