Skip to main content

Bug Tracker

Side navigation

#4833 closed bug (fixed)

Opened June 30, 2009 01:00PM UTC

Closed July 27, 2009 01:03PM UTC

Last modified March 15, 2012 04:09PM UTC

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)
  • isXMLDoc.patch (0.6 KB) - added by andr3a July 27, 2009 01:23PM UTC.

    more compact/fast work around

  • isXml.patch (0.5 KB) - added by anotherhero June 30, 2009 01:00PM UTC.
  • test.php (0.3 KB) - added by anotherhero June 30, 2009 01:00PM UTC.
  • test2.php (144.5 KB) - added by anotherhero June 30, 2009 01:01PM UTC.
Change History (2)

Changed July 08, 2009 11:44PM UTC by PSS comment:1

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!).

Changed July 27, 2009 01:03PM UTC by john comment:2

component: unfilledcore
resolution: → fixed
status: newclosed

Fixed in SVN rev [6510].