summaryrefslogtreecommitdiffstats
path: root/toolkit/components/osfile/tests/xpcshell/test_osfile_async.js
blob: 7c2e2db06b323024fc758dd89799d956d63e1ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"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);
}