fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott git-svn-id: svn://10.0.0.236/trunk@232517 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
26a275439d
commit
0c7c704ec6
@ -269,7 +269,7 @@ function EditorExecuteScript(theFile)
|
||||
var inputStream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance();
|
||||
inputStream = inputStream.QueryInterface(Components.interfaces.nsIFileInputStream);
|
||||
|
||||
inputStream.init(theFile, 1, 0); // open read only
|
||||
inputStream.init(theFile, 1, 0, false); // open read only
|
||||
|
||||
var scriptableInputStream = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance();
|
||||
scriptableInputStream = scriptableInputStream.QueryInterface(Components.interfaces.nsIScriptableInputStream);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user