Closed Bug 42545 Opened 25 years ago Closed 25 years ago

Target option "_self" opens a new window

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: lbaliman, Assigned: pollmann)

Details

Attachments

(2 files)

From Karl-Heinz Dahlmann, Ticket Online sidebar tab developer: NS6 doesn't know the target option "_self" for displaying the link in the same frame. If you give the name of the frame instead of "_self" it works otherwise it opens a new window. That causes problems if you link content into to different pages (for example www.ticketonline.de and www.st-pauli-theater.de) and if the names of the frames are different. So if you display contents in different frame sets (exchanging contents with other sites) it doesn't work with NS6 any more.
updating component and setting defualt owner
Assignee: asa → slamm
Component: Browser-General → Sidebar
QA Contact: doronr → shrir
layout, clayton
Assignee: slamm → clayton
Component: Sidebar → Layout
Frames, pollmann. In what version of the browser was this bug seen?
Assignee: clayton → pollmann
Component: Layout → HTMLFrames
QA Contact: shrir → petersen
I think this is happening even in recent mozilla builds: http://lxr.mozilla.org/seamonkey/source/uriloader/base/nsURILoader.cpp#509 We treat _self just like _blank. I'm pretty sure this is wrong. ;)
Status: NEW → ASSIGNED
Serves me right for opening my mouth before testing this bug in a recent build - this works fine. :) http://blueviper/frames/self.html I'll attach the above test case momentarily...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Attached file selftarget.html
Attached file test case: self.html
To verify that this is indeed working, first hook yourself up with a recent nightly build of Mozilla from here: http://ftp.mozilla.org/pub/mozilla/nightly/latest/ Next, after installing the build, with the new browser visit the above test cases. selftarget.html is just a single simple document, and clicking on the link should load mozilla.org in the current window. self.html is a frameset document with two frames. Each of these frames is an instance of selftarget.html, so clicking on the link in either frame should update the document displayed in that frame to mozilla.org.
Marking works for me. Tested with the Sept 14th build.
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.

Attachment

General

Creator:
Created:
Updated:
Size: