blob: 02b721fd5ce838111099faf577fd5232e89f52a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
"use strict";
add_task(async function test_importEmptyDBWithoutAuthPrompts() {
let dirSvcPath;
let pathId;
if (AppConstants.platform == "macosx") {
dirSvcPath = "LibraryWithNoData/";
pathId = "ULibDir";
} else if (AppConstants.platform == "win") {
dirSvcPath = "AppData/LocalWithNoData/";
pathId = "LocalAppData";
} else {
throw new Error("Not implemented");
}
let dirSvcFile = do_get_file(dirSvcPath);
registerFakePath(pathId, dirSvcFile);
let migrator = await MigrationUtils.getMigrator("chrome");
Assert.ok(
!migrator,
"Migrator should not be available since there are no passwords"
);
});
|