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)
Tracking
()
People
(Reporter: federicosasso, Assigned: jst)
Details
Attachments
(1 file)
360 bytes,
text/html
|
Details |
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
Reporter | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
*** This bug has been marked as a duplicate of 52334 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•25 years ago
|
||
verified dup
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•