Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#4833 closed bug (fixed)

isXml function throws an error in IE when used in combination with an iframe

Reported by: anotherhero Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: isXml iframe Cc:
Blocked by: Blocking:

Description

When trying to do $('iframe').contents().find('body'); On an iframe wich hasn't finished loading yet Internet Explorer gives a error on line 2339.

I had a hard time reproducing this error in a simple example so try reloading it around 20 times to see it happen.

Attachments (4)

isXml.patch (462 bytes) - added by anotherhero 10 years ago.
test.php (257 bytes) - added by anotherhero 10 years ago.
test2.php (144.5 KB) - added by anotherhero 10 years ago.
isXMLDoc.patch (585 bytes) - added by andr3a 10 years ago.
more compact/fast work around

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by anotherhero

Attachment: isXml.patch added

Changed 10 years ago by anotherhero

Attachment: test.php added

Changed 10 years ago by anotherhero

Attachment: test2.php added

comment:1 Changed 10 years ago by PSS

I can confirm above patch fixed those line 2339 errors when using AJAX Uploader Plugin (http://fullfatcode.wordpress.com/2009/06/06/jquery-ajax-uploader-plugin/) in IE 8 (thanks anotherhero!).

comment:2 Changed 10 years ago by john

Component: unfilledcore
Resolution: fixed
Status: newclosed

Fixed in SVN rev [6510].

Changed 10 years ago by andr3a

Attachment: isXMLDoc.patch added

more compact/fast work around

Note: See TracTickets for help on using tickets.