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:
jkeiser%netscape.com
2002-04-18 22:02:09 +00:00
parent 0388215cbb
commit a0a822ebdc
9 changed files with 262 additions and 124 deletions

View File

@@ -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));