Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve Firebug’s “Aborted” messages upon Ajax requests?

I am using Firebug 1.10.2 with Firefox 14.0.1. When showing a web page, the Firebug add-on has this "behavior": Firebug’s “Aborted” message upon Ajax request.

What should I make? Is it so dangerous that I must improve my web application because the presence of some error, or it is a Firebug bug or something else?

like image 380
user12882 Avatar asked Aug 24 '12 21:08

user12882


1 Answers

Please see the documentation of XHR open() for example here: https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest

Note: Calling this method an already active request (one for which open()or openRequest()has already been called) is the equivalent of calling abort().

Just create a new XHR instance whenever you need one. Better yet, use jQuery or other JS library to do AJAX. It should shield you from these intricacies.

like image 104
Szocske Avatar answered Oct 21 '22 22:10

Szocske