Closed Bug 5558 Opened 25 years ago Closed 25 years ago

javascript error: frame has no properties

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: morse, Assigned: vidur)

Details

Load the following content.  Get message in console window saying

   JavaScript error: top.frames[list_frame] has no properties

If the definition of list_frame is changed to 0, there is no error message.

<HTML>
<HEAD>
  <SCRIPT>
    list_frame = 1;

    function loadFrames(){
      top.frames[list_frame].document.open();
      top.frames[list_frame].document.write(
        "hello"
      );
      top.frames[list_frame].document.close();
    };

  </SCRIPT>
</HEAD>
<FRAMESET ROWS = 25,25 onLoad=loadFrames()>
  <FRAME SRC=about:blank>
  <FRAME SRC=about:blank>
</FRAMESET>

<NOFRAMES>
  <BODY> <BR> </BODY>
</NOFRAMES>
</HTML>
Vidur, any ideas?
Assignee: nisheeth → vidur
Reassigning to myself. I'll look at it.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Works on 5/17/1999 build. Don't know when the fix went in.
Status: RESOLVED → VERIFIED
Fixed in June 2 build.
You need to log in before you can comment on or make changes to this bug.