fune/toolkit/components/osfile/tests/xpcshell/test_osfile_async.js
Coroiu Cristina 43be71277d Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE
Backed out changeset 7d80233bcfcd (bug 1625500)
Backed out changeset 0a35b13dfcde (bug 1625500)
2020-04-17 15:36:05 +03:00

13 lines
302 B
JavaScript

"use strict";
const { OS } = ChromeUtils.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);
}