Re: Request Result

2009-03-30 Thread xunshirine
Thanks Boris. Really helped very much. ___ dev-tech-network mailing list dev-tech-network@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-network

Re: Request Result

2009-03-29 Thread Boris Zbarsky
xunshirine wrote: I managed to compare the subjects by storing them in an array. But is there a more efficient way to compare them? The code is below. http://pastebin.com/f549f9db0 You could hash on hostname or something; details depend on what you're doing exactly. Also why subjects remain

Re: Request Result

2009-03-29 Thread xunshirine
Hello Boris, I managed to compare the subjects by storing them in an array. But is there a more efficient way to compare them? The code is below. http://pastebin.com/f549f9db0 Also why subjects remain same between notifications? Does it mean subjects remain alive till the Firefox shutdowns.

Re: Request Result

2009-03-28 Thread xunshirine
Thanks Boris. I don't have much technical knowledge about programming. Can you provide me the code for comparing the subjects, please? ___ dev-tech-network mailing list dev-tech-network@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-network

Re: Request Result

2009-03-28 Thread Boris Zbarsky
xunshirine wrote: Thanks Boris. I know I can use http-on-examine-response but how can I be sure the responseStatus that I get on http-on-examine-response is the related to the request that I already hooked on http-on-modify- request. By comparing the subjects, perhaps? -Boris _

Re: Request Result

2009-03-28 Thread xunshirine
On Mar 28, 4:46 pm, Boris Zbarsky wrote: > xunshirine wrote: > > Hello. I observe an originating request about specific google URI with > > below code. But how can I find what responseStatus will be got for the > > Google request? Firefox Overlay.js code that I use for this question > > is at: > >

Re: Request Result

2009-03-28 Thread Boris Zbarsky
xunshirine wrote: Hello. I observe an originating request about specific google URI with below code. But how can I find what responseStatus will be got for the Google request? Firefox Overlay.js code that I use for this question is at: http://pastebin.com/f391d3926 A good start is observing ht

Request Result

2009-03-28 Thread xunshirine
Hello. I observe an originating request about specific google URI with below code. But how can I find what responseStatus will be got for the Google request? Firefox Overlay.js code that I use for this question is at: http://pastebin.com/f391d3926 Thanks. _