1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:27:59 +01:00

Use Files rather than strings in io.js where possible. Add some missing docs.

This commit is contained in:
Kris Maglione
2011-01-20 02:23:30 -05:00
parent 11f4ee5d58
commit 0ea2633593
4 changed files with 89 additions and 40 deletions

View File

@@ -1497,7 +1497,7 @@ var Buffer = Module("buffer", {
// if browser.download.useDownloadDir = false then the "Save As"
// dialog is used with this as the default directory
// TODO: if we're going to do this shouldn't it be done in setCWD or the value restored?
prefs.set("browser.download.lastDir", io.cwd);
prefs.set("browser.download.lastDir", io.cwd.path);
try {
var contentDisposition = content.QueryInterface(Ci.nsIInterfaceRequestor)