XmlHttpRequest Debugging (update)
The fixed bug: onreadystatechange callbacks weren't getting triggered properly. The reason was the native XmlHttpRequest object doesn't call onreadystatechange if it also has an onload callback. The replacement onload handler now calls any onload and onreadystatechange callback from the user, emulating the same logic.
Update (2006/02/20): A newer version is available, supporting Firefox 1.5 with Greasemonkey 0.6.4.______________________________________
Anthony, I'll follow up with you by email. Have you tried the older version (v1.0)?Posted by: Julien Couvreur (November 15, 2005 12:22 PM) ______________________________________
Hey I cannot get it to work. The window pops up when I call the ajax enabled page. The script does not work, and I get nothing on the window either. The 'User Script Commands' is greyed out tooPosted by: ashish (December 5, 2005 11:22 PM) ______________________________________
I cannot get this to work for the life of me, I've tried it locally, on digg, gmail, google maps, etc. The div comes up, I cannot move it and it doesn't record any of the request/responses.Posted by: Jim (December 21, 2005 04:09 PM) ______________________________________
I can't get it to work either. Same tests as Jim. Would love to have a fix!Posted by: Kevin (December 28, 2005 03:42 PM) ______________________________________
I still cannot get this script working or the one you wrote that just writes to the console. Would love to get this puppy workin ;)Posted by: Jim (December 29, 2005 09:53 PM) ______________________________________
Sorry for the problems with Firefox 1.5 and Greasemonkey 0.6.4. I'm still looking into the issue and hope to get a fix ready soon.Posted by: Julien Couvreur (January 4, 2006 09:27 PM) ______________________________________
Excellent script ! But i'm waitin' (avec impatience :) the fix for firefox 1.5. Keep up the good work.Posted by: cow (January 5, 2006 06:01 AM) ______________________________________
Great tool! I'm using it to debug a site and it seems to duplicate my ajax postings. I have a button that adds another element. with this script activated, it makes two elements, etc.
Is that a me thing?Posted by: John (March 29, 2006 02:20 PM) ______________________________________
I am also seeing duplicate post problem.Posted by: Pratap (May 23, 2006 06:07 AM) ______________________________________
I'm getting this to work great on my local machine, but when I publish it to the server, it blows up at dojo.flash.comm.XmlHttp. If I display dojo.flash.comm, it is there with a list of methods, but XmlHttp isn't one of them. Any idea why it would not have this method?
Thanks for any help/ideas.