Side navigation
#10030 closed bug (duplicate)
Opened August 11, 2011 09:19PM UTC
Closed August 29, 2011 07:41PM UTC
Last modified March 10, 2012 03:11AM UTC
IE 7 only - jQuery core "finally {"
Reported by: | toby@accentmedia.ca | Owned by: | toby@accentmedia.ca |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | deferred | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery from CDN loaded into Wordpress 3.2, works perfectly in all browsers except IE7.
Script debugger reports that the jQuery core is responsible, with this error:
"Object doesn't support this property or method"
The function it seems to get caught on is:
finally{b=[e,f],c=0}
minified file and uncompressed causes the same error, and exists in this version and 1.5.
Attachments (0)
Change History (5)
Changed August 12, 2011 01:43PM UTC by comment:1
component: | unfiled → deferred |
---|---|
owner: | → toby@accentmedia.ca |
priority: | undecided → low |
status: | new → pending |
Changed August 18, 2011 08:25AM UTC by comment:2
the problem is when some settings for display js error open
any way i had the same problem and solve the problem
The error you're getting is due to jQuery needing to call the function resolveWith which contains a try - finally without a catch block. Until IE9, this is not supported by IE and causes the error:
in the 1.6.2 min version at the "try" is without catch
try{while(a[0])a.shift().apply(e,f)}finally{b=[e,f],c=0}
i changed it to
try{while(a[0])a.shift().apply(e,f)}catch(e){}finally{b=[e,f],c=0} and it work with no error
Changed August 23, 2011 12:01PM UTC by comment:3
I've met the same problem on IE8. IE<9 need to have at least one catch before a finally.
Changed August 29, 2011 07:41PM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | pending → closed |
This may be an example where try/finally causes a problem in IE7. We have not been able to reproduce the issue with a test case yet, however, so if you could, please provide a reduced test case in any way possible. If it can be reproduced on http://jsfiddle.net, that is preferred.