Open Bug 259912 Opened 22 years ago Updated 4 years ago

nsIContentHandler could be eliminated

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: Biesinger, Unassigned)

References

(Depends on 2 open bugs, )

Details

most of its functionality is offered by nsIURIContentListener. See also bug 239604 comment 8 The only missing thing is the window context. The current code ensures, however, that windowContext == channel.loadGroup.notificationCallbacks If we don't want to rely on that, possibilities include: - make a new interface for getting windowContexts, and make that available via nsIChannel::notificationCallbacks - as above, but make loadgroup qi to that - make the windowContext available by getting nsIInterfaceRequestor off nsIChannel::notificationCallbacks (although this is probably a bit hackish) - allow qi'ing the loadgroup to nsIInterfaceRequestor - possibly others.
bug 324747 adds nsIURIContentListener2 and makes the functions take a windowcontext argument.
Depends on: 324747
Assignee: file-handling → nobody
QA Contact: ian → file-handling
Product: Core → Firefox
Version: Trunk → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.