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