[Project_owners] Re: nsIDownloadManager and SeaMonkey
philip.chee at gmail.com
Tue Jul 18 09:41:26 EDT 2006
On Mon, 17 Jul 2006 12:20:25 -0700, Myk Melez wrote:
> Back when I wrote nightcap, a prototype extension sticking download
> progress into the browser window, I ran into the same problem. So I
> copied an idea from another download-related extension (don't remember
> which one now) and moved the listener around as the user moved from
> window to window.
Oh. Re-reading the comments in the code, this is what downloadstatusbar
does. It wasn't clear *why* it was doing this though.
A much older version of downloadstatusbar that was compatible with the
suite would hook it's listener to each nsIDownload but XULPlanet doesn't
show a listener property for nsIDownload even for Firefox, so was this
property removed or is this just a documentation oversight?
> But in reality, folks are likely to want both their new extension and
> the core manager to continue to work, so breaking the manager is bad.
> Moving the listener around might get it working again, but it's just a
> hack, not a proper solution, so I filed this bug on making
> nsIDownloadManager accept multiple listeners:
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Free? Nothing is free... except TmNice the TAGLINE Master!
* TagZilla 0.059
More information about the Project_owners