mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1489496: Add diagnostics for strange failures. r=me,test-only
This commit is contained in:
parent
54aa04bfd1
commit
258bee16d9
@ -54,6 +54,10 @@ add_task(async function test_install_from_file() {
|
||||
get_addon_file_url("browser_dragdrop1.xpi"),
|
||||
get_addon_file_url("browser_dragdrop2.xpi"),
|
||||
];
|
||||
for (let uri of filePaths) {
|
||||
ok(uri.file != null, `Should have file for ${uri.spec}`);
|
||||
ok(uri.file instanceof Ci.nsIFile, `Should have nsIFile for ${uri.spec}`);
|
||||
}
|
||||
MockFilePicker.setFiles(filePaths.map(aPath => aPath.file));
|
||||
|
||||
// Set handler that executes the core test after the window opens,
|
||||
|
Loading…
Reference in New Issue
Block a user