Files
UXP-Fixed/toolkit/components/osfile/tests/xpcshell/test_osfile_async.js
T
2018-02-02 04:16:08 -05:00

17 lines
304 B
JavaScript

"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
);
}