Opened 10 years ago

Closed 10 years ago

#9864 closed defect (invalid)

IE8 hangs with multiple iframes displayed and trying to refresh the main page

Reported by: ghannes Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

When 2 iFrames are loaded from the main window and a button is clicked from the iFrame to refresh the main window, IE8 browser hangs (using javascript: top.location.href).

This issue only appears in IE8 native mode. It will work in IE7 comptability mode and other browsers tested OK. (i.e. chrome 2.0.172.39, Firefox 3.5)

Dojo version: 1.3.2 (aol) IE8 (last version: 8.0.6001.18702) Operating env.: XP Home, version 2002 SP3

You can view the issue at following URL: http://itnbuilder.com/test/tIframe.php

When pressing the 'Load iFrame' button, 2 iframes are loaded. When pressing the Go Back button in 1 of the 2 iFrames, IE8 hangs. 3 files attached: tIframe.php (= main page) tIframeClient.php (= iFrame1) tIframeClient2.php (=iFrame2)

Attachments (3)

tIframe.php (4.5 KB) - added by ghannes 10 years ago.
main page
tIframeClient.php (1.8 KB) - added by ghannes 10 years ago.
iFrame 1
tIframeClient2.php (1.8 KB) - added by ghannes 10 years ago.
iFrame 2

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by ghannes

Attachment: tIframe.php added

main page

Changed 10 years ago by ghannes

Attachment: tIframeClient.php added

iFrame 1

Changed 10 years ago by ghannes

Attachment: tIframeClient2.php added

iFrame 2

comment:1 Changed 10 years ago by bill

Two of your three buttons are missing type=button. That's probably the problem.

Although, I'm also not sure if IE allows an iframe to reset the main window. Can you try a test case w/out dojo to see if that works?

comment:2 Changed 10 years ago by ghannes

Hi Bill,

Thanks for your quick reply. Changing the buttons in the iFrame to type= 'button' solves the issue in IE8. So i assume it's also possible to reset the main window from an iFrame w/out Dojo.

Fixing this issue, allows me to migrate my project to the latest release 1.3.2

Best regards,

Guido

comment:3 Changed 10 years ago by bill

Resolution: invalid
Status: newclosed

OK, cool, glad it's working for you now.

Note: See TracTickets for help on using tickets.