Bug 1357846 - Remove some dead code which triggers errors at sandbox level 3 r=baku

This code only became dead very recently; in the first patch improving this
issue (which fixed an underlying issue with the code, but not the tests).

r=baku

MozReview-Commit-ID: 3QP5LrNPstJ

--HG--
extra : rebase_source : 845856d77640cf94b074dc0b9f976ae1a1fb927a
This commit is contained in:
Alex Gaynor 2017-04-27 10:30:30 -04:00
Родитель e1f043f96f
Коммит 80cf2cf897
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -21,10 +21,6 @@ SimpleTest.waitForExplicitFinish();
const { Cc: Cc, Ci: Ci } = SpecialPowers;
// Platform-independent directory names are #define'd in xpcom/io/nsDirectoryServiceDefs.h
var defaultUploadDirectory = Cc["@mozilla.org/file/directory_service;1"]
.getService(Ci.nsIDirectoryService)
.QueryInterface(Ci.nsIProperties)
.get("Desk", Ci.nsIFile);
// When we want to test an upload directory other than the default, we need to
// get a valid directory in a platform-independent way. Since NS_OS_DESKTOP_DIR
@ -35,7 +31,6 @@ var customUploadDirectory = Cc["@mozilla.org/file/directory_service;1"]
.get("TmpD", Ci.nsIFile);
// Useful for debugging
//info("defaultUploadDirectory" + defaultUploadDirectory.path);
//info("customUploadDirectory" + customUploadDirectory.path);
var MockFilePicker = SpecialPowers.MockFilePicker;