Closed
Bug 33168
Opened 24 years ago
Closed 24 years ago
frames array not updated when frame name changed
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P3)
Tracking
()
People
(Reporter: david.halls, Assigned: pollmann)
Details
When one sets the name property of a FRAME or IFRAME node, the frames array doesn't seem to be updated to reflect this (i.e. you can't get to the frame by the new name, it's still in there with the old name). Example below (should display a Window (frame) object rather than Undefined?) <HTML> <HEAD> <SCRIPT> function doit() { var frame = document.getElementById("one") frame.name = "hello" alert(window.frames["hello"]) } </SCRIPT> </HEAD> <BODY onload='doit()'> <IFRAME NAME="two" ID="one" WIDTH=100 HEIGHT=100 SRC="about:blank"></IFRAME> </BODY> </HTML>
Assignee | ||
Comment 1•24 years ago
|
||
This bug got entered twice. It is already present as bug 33089. Thanks! *** This bug has been marked as a duplicate of 33089 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•