Bug 168017 - widely supported window.frames.top not supported in konqueror
Summary: widely supported window.frames.top not supported in konqueror
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 18:07 UTC by Stephen Baker
Modified: 2008-08-23 20:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Baker 2008-08-01 18:07:11 UTC
Version:            (using KDE 4.1.0)
Installed from:    MS Windows
OS:                MS Windows

In Opera 9.5, IE 6+, Firefox 2+, and Safari 3.1 window.frames['top'] or window.frames.top points to the top level window object in a page containing frames. In Konq as in those other browsers window.top points to this object, but in konq window.frames['top'] and window.frames.top are undefined.

The workaround (t=='top'?window.top:window.frames[t]) is relatively trivial, but unnecessary for any other major browser.
Comment 1 Maksim Orlovich 2008-08-01 18:09:26 UTC
Trivia fact:
window.frames === window in other browsers.
I was planning on changing us to match, but wasn't sure if it was needed --- now I know.