Skip to main content

Bug Tracker

Side navigation

#9878 closed bug (duplicate)

Opened July 21, 2011 12:50AM UTC

Closed July 21, 2011 10:41AM UTC

Last modified July 21, 2011 10:41AM UTC

IE needs catch() before finally

Reported by: scraze@hoekje.org Owned by: jaubourg
Priority: high Milestone: None
Component: ajax Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

Tested with IE8.0 on Windows Vista Home Premium:

IE gives a warning ("Invalid argument") when it runs into 'finally' on line 998, in the try starting on line 993. According to random google result "http://webbugtrack.blogspot.com/2007/11/bug-184-catch-to-try-catch-finally-in.html", finally isn't even executed without catch. Either way, an empty catch such as on line 4894 ("catch(pseudoError) {}") resolves the issue.

(Thanks!)

Attachments (0)
Change History (5)

Changed July 21, 2011 02:14AM UTC by rwaldron comment:1

owner: → scraze@hoekje.org
status: newpending

Changed July 21, 2011 02:44AM UTC by scraze@hoekje.org comment:2

status: pendingnew

Replying to [comment:1 rwaldron]:

Are you actually referring to this: https://github.com/jquery/jquery/blob/master/src/deferred.js#L61-62

Indeed I'm referring to the highlighted lines - I failed to mention it's in the function resolveWith.

Changed July 21, 2011 04:30AM UTC by rwaldron comment:3

component: unfiledajax
owner: scraze@hoekje.orgjaubourg
priority: undecidedhigh
status: newassigned

Thanks!

Changed July 21, 2011 10:41AM UTC by jaubourg comment:4

resolution: → duplicate
status: assignedclosed

Changed July 21, 2011 10:41AM UTC by jaubourg comment:5

Duplicate of #9033.