mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 450665: test_bug-365166.js creates file in /tmp instead of in build directory. r=sdwilsh
This commit is contained in:
parent
a1ad3a1c2e
commit
b4c01f2f50
@ -13,10 +13,7 @@ function run_test() {
|
||||
var colName = param + "_version";
|
||||
var sql = "PRAGMA " + colName;
|
||||
|
||||
var file = Components.classes["@mozilla.org/file/directory_service;1"]
|
||||
.getService(Components.interfaces.nsIProperties)
|
||||
.get("TmpD", Components.interfaces.nsIFile);
|
||||
file.append("bug-365166.sqlite");
|
||||
var file = getTestDB();
|
||||
var storageService = Components.classes["@mozilla.org/storage/service;1"].
|
||||
getService(Components.interfaces.mozIStorageService);
|
||||
var conn = storageService.openDatabase(file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user