Closed Bug 238848 Opened 21 years ago Closed 21 years ago

uploading progress of nsWebBrowserPersist

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dantifer, Assigned: darin.moz)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040325 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040325 When I try to use nsWebBrowserPersist to upload files to ftp server. onProgressChange receives incorrect progress information from persist. It seems the received progress is not the progress sending file to ftp server, but the progress reading file from local disk. I don't know hot to solve it, perhaps there is a flag can fix this problem? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Maybe there should be a way to configure the webbrowserpersist object to report progress for only the upload request(s). For bug 24867, I think we can workaround this problem by filtering out progress notifications having to do with URIs other than the target URI. That also means that we'd need to make the progress dialog ignore the total progress fields in its onProgressChange method :-/ confirming
Blocks: 24867
Status: UNCONFIRMED → NEW
Ever confirmed: true
I believe that my patch for bug 24867 fixed this bug as well.
Assignee: adamlock → darin
marking FIXED
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.