Issue with xhr.js
|Reported by:||Sabran||Owned by:||gibson042|
I’m trying to use the latest version of jQuery and the latest version of jquery.signalR. I’m running into a problem in IE9 specifically. On window.unload, signalR is firing off an AJAX request. This fails in jquery with the error: Unable to set value of the property 'x': object is null or undefined. The ‘x’ is actually a number, but it varies.
I’ve traced the issue down to line 104 in xhr.js:
callback = xhrCallbacks[( id = xhrId++ )] = callback("abort");
The problem is that xhrCallbacks is undefined at the time of this call. The reason it is undefined is because earlier, on line 32, it is explicitly set to undefined on the window.unload event.
Change History (10)
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 2 years ago by gibson042
- Owner set to Sabran
- Status changed from new to pending
comment:6 Changed 2 years ago by gibson042
- Owner changed from Sabran to gibson042
- Status changed from new to assigned
comment:9 Changed 2 years ago by Richard Gibson
- Resolution set to fixed
- Status changed from assigned to closed