Skip to main content

Bug Tracker

Side navigation

#14166 closed bug (patchwelcome)

Opened July 23, 2013 12:24AM UTC

Closed August 09, 2013 12:36AM UTC

Accessing a Window's Height in IE 8 Breaks, Sometimes

Reported by: vestigal Owned by: vestigal
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

If too many iframes are nested, and one of the inner ones loads a PDF file and then tries to access the window's height, IE throws an error.

I noticed this on IE 10 in IE8 standards mode.

I've created a test case and posted it on jsFiddle, but unfortunately the test requires three files, and therefore one will need to download the files and save them to reproduce the issue.

To reproduce the bug, please follow the below steps.

1. Open IEPdfFrameHeightBug.html in IE. Make sure that IE is set to IE8 standards mode.

1. Select the iframe that is in the document and press 'enter'.

1. The console should print "getting," and then the error, which is this:

SCRIPT16386: No such interface supported

jquery.min.js, line 6 character 28398

The closest bug that I could find to this was bug #3405, but I think that this bug is different enough to merit looking into.

Attachments (0)
Change History (6)

Changed July 26, 2013 04:57PM UTC by dmethvin comment:1

owner: → vestigal
status: newpending

This could be almost impossible to narrow down. Can you create a test case with the uncompressed version of jQuery? At least the line number will be useful that way.

Changed July 26, 2013 08:14PM UTC by vestigal comment:2

status: pendingnew

Sure. Is there a way to attach files, or an archive, to this bug? Since there are several files involved, I don't think that using jsFiddle works very well.

Changed July 27, 2013 08:09PM UTC by dmethvin comment:3

status: newpending

You should be able to use http://jsfiddle.net/vestigal/wUfgt/show as the URL in the iframe with no problems, that just has the page with no jsFiddle windows.

Changed August 08, 2013 09:53PM UTC by vestigal comment:4

status: pendingnew

I've created a new, simplified test case at http://jsfiddle.net/vestigal/7WL7M/7/show/ that demonstrates the issue.

At the moment, the error appears to be in jquery-git.js on line 9767.

Thanks for looking at this. Please let me know if you need anything else.

Changed August 08, 2013 09:55PM UTC by vestigal comment:5

On a side note, it looks like the bug tracker keeps changing the status of this case to "new" whenever I make a modification, which is odd.

Changed August 09, 2013 12:36AM UTC by dmethvin comment:6

resolution: → patchwelcome
status: newclosed

It is normal for the tracker to change the state from pending to new when you reply.

This is just too much of an edge case to investigate. Most likely, the window is not fully ready. A PDF requires a plugin and the plugin itself may be causing the issue.