Closed Bug 163924 Opened 22 years ago Closed 8 years ago

frame with name = "top" confuses window.top in page containing frameset

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bc, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: testcase)

Attachments

(1 file)

Steps to reproduce

1. visit http://www.chevroncreditcard.com/
2. attempt to click on any of the links along the right, enroll, login etc.

Expected results:

Navigate to new page

Actual Results:

Fails to load new page

JavaScript Console says :
Error: window.top.frames[0] has no properties
Source File: http://sslb0.chevron.com/cccard/en/public/cce_home.asp
Line: 88

The cause of this is the use of a frame named 'top' in the top level page. This
confuses the script in the top level page to think that window.top actually
points to the frame named top. This behavior is consistent with 0.9.4 but not
with NN4, IE6 or Opera.

See http://bugscape/show_bug.cgi?id=15386 for the internal evang bug on the site.

Test case coming up.
Keywords: 4xp, testcase
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
Similar to bug 130113 (frame named "close")
jst, should we be special-casing window.top in the property lookup code?
Blocks: 253628
Assignee: general → nobody
QA Contact: desale → general
Depends on: ParisBindings
OS: Windows 2000 → All
Hardware: x86 → All
This was fixed by bug 850517.
Status: NEW → RESOLVED
Closed: 8 years ago
Depends on: 850517
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: