Closed Bug 75327 Opened 23 years ago Closed 23 years ago

Properly targeted subframes opened in new window.

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 13871

People

(Reporter: meheler, Assigned: pollmann)

References

()

Details

Goto the URL http://www.planetunreal.com/realmaps/ and click on "Reviews". Two
sperate frames open below, a thin one on the left which contains a list, and a
larger one on the right. The document in the left frame resides at
http://dynamic.gamespy.com/~realmaps/reviews-menu.php and the document in the
right frame resides on the same server as the frameset document
(http://www.planetunreal.com/realmaps/noreview.html) as well, all links clicked
on the left frame are supposed to open in the frame on the right.

This works when all documents are on the same server, but when I move the
document on the left another server, any links clicked on will open in a new
window as opposed to a frame on the left.

I have tried targeting the links in several different ways. The way that is
currently being used is by setting a <base
href="http://www.planetunreal.com/realmaps/"> and then calling links such as <a
href="reviews/somereview.html" target="revmain">

This behaviour occurs in Mozilla 0.8.1 for Windows 2000 and for Linux, as well
as Netscape Navigator 4.76 for Linux (but not in windows). Other browsers I have
tried (such as Internet Explorer or Opera) do not display this behaviour.

So to summarize, when two documents in seperate frames reside on different
servers, links opened across-frames are opened in a new window instead of the
targeted frame. This happens in Windows 2000 and in Linux. I have not been able
to test in other platforms.
this is a security feature.  A frame loaded from server A should not be able to
write into a frame loaded from server B.  See bug 13871, which instituted this
policy.


*** This bug has been marked as a duplicate of 13871 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
 Verified dupe of bug# 13871
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
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.