Closed Bug 75826 Opened 25 years ago Closed 25 years ago

NPN_PostUrl(Notify) doesn't work if streaming from file

Categories

(Core Graveyard :: Plug-ins, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: serhunt, Assigned: serhunt)

References

Details

(Whiteboard: eta -- 4.17.01)

Attachments

(2 files)

nsPluginHostImpl::PostUrl ignores boolean aIsFile input parameter. This causes NPN_PostUrl failure in case when the stream is supposed to come from file.
Blocks: 53347
Nominating for 0.9 as it blocks Acrobat forms issue.
Priority: -- → P2
Target Milestone: --- → mozilla0.9
Attached patch first try — — Splinter Review
Peter, would you please review?
Few questions: 1) Why the removal of: - // nsIProgressEventSink methods: - // nsIRequestObserver methods: - // nsIStreamListener methods: 2) The "file://" stuff makes me wery. Isn't there some interface methond that does for nsIFiles? 3) I'd like to try on Mac and Linux on Monday.
> 1) Why the removal of: Just looks better. The same wording is in the names of the macros themselves. No loss of information. > 2) The "file://" stuff makes me wery. Isn't there some interface methond that does for nsIFiles? I'll try to search more. About the file to delete... I am also thinking of keeping just its path rather than nsILocalFile object and create nsILocalFile only at the point we want to delete it. Should be slightly better for footprint.
r=peterl
rs=waterson
Whiteboard: eta -- 4.17.01
Checked in. Marking fixed.
Forgot to mark, as usual. Marking.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verif (stamp)
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: