javascript error: frame has no properties

VERIFIED FIXED

Status

()

Core
Layout
P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Stephen P. Morse, Assigned: vidur (gone))

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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>

Comment 1

19 years ago
Vidur, any ideas?
(Assignee)

Updated

19 years ago
Assignee: nisheeth → vidur
(Assignee)

Comment 2

19 years ago
Reassigning to myself. I'll look at it.
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

19 years ago
Works on 5/17/1999 build. Don't know when the fix went in.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 4

19 years ago
Fixed in June 2 build.
You need to log in before you can comment on or make changes to this bug.