Skip to main content

Bug Tracker

Side navigation

#7196 closed bug (fixed)

Opened October 15, 2010 12:39AM UTC

Closed October 15, 2010 12:55AM UTC

JSONP handler in 1.4.3-RC3 seems broken

Reported by: gfodor@gmail.com Owned by:
Priority: undecided Milestone: 1.4.3
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

I'm testing an existing jQuery app and when using JSONP I am getting a "no such node" error. The culprit seems to be inside of the ajax function:

} else {

// Garbage collect

window[ jsonp ] = undefined;

try {

delete window[ jsonp ];

} catch( jsonpError ) {}

}

if ( head ) {

head.removeChild( script );

}

In this case, when the JSONP callback is called, "script" seems to be unbound. ("script" is declared later in the file.) I'm not sure of an appropriate fix, but his certainly seems broken.

Attachments (0)
Change History (1)

Changed October 15, 2010 12:55AM UTC by jeresig comment:1

resolution: → fixed
status: newclosed

Reverting commit 39addc87a37b32be19f2c58ec8babe752c0243e1 after a report of problems. Fixes #7196.

Changeset: 80a4178af9b12e6617bfcec818c538dfe08d3791