Bug Tracker

Modify

Ticket #7196 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

JSONP handler in 1.4.3-RC3 seems broken

Reported by: gfodor@… Owned by:
Priority: undecided Milestone: 1.4.3
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 years ago by jeresig

  • Status changed from new to closed
  • Resolution set to fixed

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

Changeset: 80a4178af9b12e6617bfcec818c538dfe08d3791

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.