Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119316 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4854,7 +4854,8 @@ nsDocShell::DoURILoad(nsIURI * aURI,
|
||||
nsCOMPtr<nsISeekableStream>
|
||||
postDataSeekable(do_QueryInterface(aPostData));
|
||||
if (postDataSeekable) {
|
||||
postDataSeekable->Seek(nsISeekableStream::NS_SEEK_SET, 0);
|
||||
rv = postDataSeekable->Seek(nsISeekableStream::NS_SEEK_SET, 0);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIUploadChannel> uploadChannel(do_QueryInterface(httpChannel));
|
||||
|
||||
Reference in New Issue
Block a user