diff -r 000000000000 -r 6474c204b198 toolkit/components/osfile/tests/xpcshell/test_osfile_async.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/components/osfile/tests/xpcshell/test_osfile_async.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,16 @@ +"use strict"; + +Components.utils.import("resource://gre/modules/osfile.jsm"); + +/** + * A trivial test ensuring that we can call osfile from xpcshell. + * (see bug 808161) + */ + +function run_test() { + do_test_pending(); + OS.File.getCurrentDirectory().then( + do_test_finished, + do_test_finished + ); +}