Re: venkman and firebug loading source code for a page without sending the params that were sent when the browser made the call
"John J. Barton" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
James Ross wrote: > [email protected] wrote: >> i am debugging a site with venkman and firebug. >> it seems the debuggers try to get their own copy of the source from >> the >> web server (instead of taking the browser's copy as i would expect) >> and >> call it without the params it needs (which the browser itself did >> send >> when it loaded the page). >> i am interested to know if this behaviour is by design. it would seem >> strange to me if it were so, since different params might mean >> totally >> different source sent to the browser. >> (in case it matters the page on which i saw this problem handles a >> multipart/form-data form submition.) > > I can't speak for FireBug, ... Firebug (re-)loads context.window.location.href then re-loads everything it finds via win.document.documentElement.getElementsByTagName("script"); In my simple test values past "?" on the url are sent to the server. All of this seems wrong: the source ought to be captured when onScriptCreated is called. Maybe that is what the code Bandhauer references does. John.