Skip to main content

Bug Tracker

Side navigation

#6985 closed bug (worksforme)

Opened September 01, 2010 09:59PM UTC

Closed September 02, 2010 02:22AM UTC

Ajax: GET Request abort

Reported by: phlegx Owned by:
Priority: Milestone: 1.4.2
Component: ajax Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

Used plugin:

  • jqGrid 3.7.2.

Problem:

If I click on the "reload grid" button the ajax request becomes the status "Aborted". Firebug shows me the error line 5252 in jquery.js.

Funny thing:

  • The Firefox 3.6.8 on my Linux machine (with the local web server running) don't has this behavior if I click the "reload grid" button. It runs all fine.
  • The Firefox 3.6.8 on my Windows machine (connected over ethernet with the linux machine) has this problem by click the button! The ajax request starts but finishes with an "Abort".

My test:

  • If i remove the line 5245 "onreadystatechange( "timeout" );" from jquery.js the problem on the Windows machine disappears and all works fine.

How is that possible? Same web server, same script, same ajax request. Only different OSs!

Attachments (0)
Change History (4)

Changed September 01, 2010 10:24PM UTC by phlegx comment:1

My second test:

  • Remove only the line 5217 "xhr.abort();"

This "solves" the problem:

  • On the Windows machine the problem disappears!

This is only a temporary solution for me.

Changed September 01, 2010 10:59PM UTC by phlegx comment:2

Replying to [comment:1 phlegx]:

My second test: - Remove only the line 5217 "xhr.abort();" This "solves" the problem: - On the Windows machine the problem disappears! This is only a temporary solution for me.

The problem disappears because don't ends in "Aborted" state, still the grid is not reloaded!!!

Changed September 01, 2010 11:11PM UTC by phlegx comment:3

Here a same script with the same result:

http://jsbin.com/isolo/edit

Use Firebug on tab: Console or Net -> XHR to see the error.

Changed September 02, 2010 02:22AM UTC by dmethvin comment:4

resolution: → worksforme
status: newclosed

If you change to jQuery 1.4.2 it seems to work, at least AFAICT.