6

When I'm using Firebug 1.5, I'm getting 200 ABORTED errors on certain ajax requests. You can see this happen on this demo page by typing into the textfield. The functionality of the site seems to work just fine even with these errors. Is it safe to simply ignore these errors?

This wicket mailing list thread seems to indicate that the wicket ajax code is doing what it should. Also, this firebug issue seems to indicate there may be some concern. Not sure what to think.

1
  • The firebug devs have indicated that the code on the sample I show actually does respond with an ABORT, and that the behavior is as expected. They also indicate that this firebug behavior has caused lots of confusion and that the next release will go back to treating 200 aborts as they did before. See code.google.com/p/fbug/issues/detail?id=2712 for details.
    – Tauren
    Feb 17, 2010 at 19:37

4 Answers 4

11

I just spent 30 mins with a similar problem. While this is not an answer directly to the above, a google search for my problem got me here, so I thought I'd add it here in case it saves someone else some time. As always, my problem turned out be developer error. I was binding an ajax request to a submit button, but I'd forgotten to use preventDefault() on the button before making the XHR, so the request was being aborted as soon as the default behaviour for the button kicked in - sometimes before the response came back, sometimes not - but it would always report in firebug 1.5 to be aborted.

1
  • I had a similar problem attaching an Ajax event to a keydown event of the escape key. In FF the escape key also kills the http request and so they were immediately aborted. Calling .preventDefault() on the event stopped the propagation of the keydown event and solved the problem. Feb 23, 2011 at 16:15
1

I am also encountering this. I can see it on your demo site above on every request, but also I see it on one of my sites. I didn't notice this before, and I am sure I would notice it since I stare at the console for hours everyday. Gives some pretty mixed messages.

http://dl.dropbox.com/u/848795/Screen%20shot%202010-02-16%20at%2011.05.16%20PM.png

I am using a mac with firebug 1.5. This bug has been reported on the firebug bug list id=2712 but seems to be going nowhere. It's a tricky one. I tend to notice it when i have 2 simultaneous requests fired off at the same time, and perhaps one preemptively returns before the other. But this shouldn't cause an Abort message.

1
0

Sounds like aborts on requests that already were coming back with an OK. Firebug will filter these out on some future release, see the code change here:

http://code.google.com/p/fbug/source/detail?r=6127

0

I saw your demo page with Firebug and seems to be working fine, there is no error to it and note that 200 response denotes that request was successful. It is not an error abort like you say.

alt text

6
  • Were you using FireBug 1.5, or some other version? I'm running in Firefox on OSX snow leopard.
    – Tauren
    Feb 11, 2010 at 7:38
  • @Tauren: yes i am using 1.5 on xp sp2.
    – Sarfraz
    Feb 11, 2010 at 7:42
  • Strange that you don't see it. A response in this thread says they can see it too: code.google.com/p/fbug/issues/detail?id=2712 However, it looks like they think Firebug is doing the right thing in this case.
    – Tauren
    Feb 11, 2010 at 11:01
  • @Tauren: please see my answer again where i show the response i get, there is no error you mention
    – Sarfraz
    Feb 11, 2010 at 11:44
  • @Tauren: the error might be related to some other hidden tasks running or even your firefox or something
    – Sarfraz
    Feb 11, 2010 at 11:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.