Downloads might not always have a window associated with them. Think of XMLHttpRequest downloads, for example. But the downloads which do have a window associated with them is obtainable through the channel's load group IIRC.
________________________________ From: disya2 <[email protected]> To: [email protected] Sent: Wednesday, January 14, 2009 12:23:10 PM Subject: How to find the window which initiated download? Hi, I have an observer which listens to dl-start|done|cancel|failed topics. Everything works fine but now I want to find the window which initiated the download. Is there a way to find it from observer? Or there is another approach to listen to "download start|stop" events which could help find the window? Thanks in advance Denis _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
