Perhaps this could help you http://www.softwareishard.com/blog/firebug/nsitraceablechannel-intercept-http-traffic/
And also you can explore how to observer HTTP events (on-http-modify-request, on-http-examine-response): http://code.google.com/p/fbug/source/browse/branches/firebug1.4/components/firebug-http-observer.js and how to get response body: http://code.google.com/p/fbug/source/browse/branches/firebug1.4/components/firebug-channel-listener.js Honza On 5 Bře, 11:55, GhostHeaven <[email protected]> wrote: > I'm working on a firefox extension which needs to observe http > requests. But read method of nsIInputStream is not scriptable. How > does firebug do this job? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
