Closed Bug 81654 Opened 23 years ago Closed 23 years ago

Plugins never fires StreamAsFileProc when loading from file://

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dougt, Assigned: serhunt)

Details

Plugins never fires StreamAsFileProc when loading from the local file system.  
This basically is break Acrobat PDF and other plugins that want a file path.

The way to fix this is either make nsFileChannel or to change the logic in the 
plugin code to QI the request/channel for a nsFileChannel and use the local file 
off that.  I will attach a patch that does the latter.
Dupe of bug 80285 (or vice versa)?
well, if a helper application uses the ns plugin api, then yes it is a dup.  
Doug, your recent patch for NPP_RequestRead fixes this, right?
Yes.  Just needs to be verified.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.