Firebug 1.5 showing 200 Aborted for Ajax requests

前端 未结 4 948
无人共我
无人共我 2021-01-12 21:27

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 functiona

相关标签:
4条回答
  • 2021-01-12 21:53

    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 went successful -> OK, it is not an error abort like you say. Thanks

    alt text

    0 讨论(0)
  • 2021-01-12 21:57

    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.

    0 讨论(0)
  • 2021-01-12 22:18

    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 讨论(0)
  • 2021-01-12 22:20

    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.

    0 讨论(0)
提交回复
热议问题