mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 450665: test_bug-365166.js creates file in /tmp instead of in build directory. r=sdwilsh
This commit is contained in:
parent
666a1bc911
commit
35fc19014c
@ -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…
Reference in New Issue
Block a user