Closed Bug 60960 Opened 25 years ago Closed 25 years ago

accessing to IFRAME content fails if not visible

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 52334

People

(Reporter: federicosasso, Assigned: jst)

Details

Attachments

(1 file)

BuildID: 2000112120 accessing to IFRAME content fails when the IFRAME has the attribute STYLE set to style="display:none" In the JavaScript Console appears the error message "window.frames.iview has no properties" where 'iview' is the IFRAME name Reproducible: Always Steps to Reproduce: try to click the link in the testcase Actual Results: the mentioned error appears in the JavaScript Console Expected Results: window title should be set as the iframe name, as it correctly happen when the visibility style is omitted here is the testcase code <html> <head> <title>IFrame Bug</title> <script type="text/javascript"> function testIt() { //alert(window.frames.iview.name); document.title = window.frames.iview.name; } </script> </head> <a href="javascript:testIt();">test</a> <br/><br/> <body> <iframe id="iview" name="iview" style="display:none"></iframe> </body> </html> by the I do not use an alert because it sometime locks up Moz. The cause I think should be the same of bug 59243 http://bugzilla.mozilla.org/show_bug.cgi?id=59243 Please note that this all happens with the latest build I just downloaded
*** This bug has been marked as a duplicate of 52334 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
verified dup
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: