author | Kris Maglione <maglione.k@gmail.com> |
Wed, 13 Feb 2019 15:31:40 -0800 | |
changeset 458990 | f300070152e9 |
parent 458989 | 87ed9a736435 |
child 458991 | f0ea53f47215 |
child 459036 | 890618032e65 |
push id | 35553 |
push user | shindli@mozilla.com |
push date | Thu, 14 Feb 2019 04:41:18 +0000 |
treeherder | mozilla-central@f0ea53f47215 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | me, test-only |
bugs | 1489496 |
milestone | 67.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
toolkit/mozapps/extensions/test/browser/browser_bug567127.js | file | annotate | diff | comparison | revisions |
--- a/toolkit/mozapps/extensions/test/browser/browser_bug567127.js +++ b/toolkit/mozapps/extensions/test/browser/browser_bug567127.js @@ -49,16 +49,20 @@ async function checkInstallConfirmation( add_task(async function test_install_from_file() { gManagerWindow = await open_manager("addons://list/extension"); var filePaths = [ 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, // and resolves the promise when the window closes let pInstallURIClosed = checkInstallConfirmation("Drag Drop test 1", "Drag Drop test 2"); gManagerWindow.gViewController.doCommand("cmd_installFromFile");