Closed
Bug 111577
Opened 24 years ago
Closed 24 years ago
Window-target: _top seems not work.
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
People
(Reporter: hurtta+mozilla, Assigned: adamlock)
Details
Attachments
(1 file)
3.29 KB,
text/plain
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
BuildID: 2001112012
(mozilla 0.9.6)
Following response does not reset frame to top level:
HTTP/1.1 200 OK
Date: Fri, 23 Nov 2001 10:22:39 GMT
Server: Apache/1.3.17 (Unix) mod_ssl/2.8.0 OpenSSL/0.9.6
Window-target: _top
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Reproducible: Always
Actual Results:
- Top level frame is
<html><head>
<title>tih.fmi.fi | Tunnusyhteenveto</title>
</head>
<frameset rows="50%, 50%">
<frame src="/users/edit/00002/0" name="edit">
<frame src="/users/list?rec=00002&rev=0" name="list">
<noframes>
<h1 align=center>Käyttäjätunnusyhteenveto</h1>
<p align=right>
(Scripti /usr/local/www-tls/bin/tunnusyhteen.pl)<br>
Kari Hurtta, 22.11.2001
</p>
<ul>
<li><a href="/users">Palaa</a> pääsivulle.</li>
<li><a href="/users/edit">Listaa</a> käyttäjätunnukset.</li>
</ul> </noframes>
</frameset>
</html>
- On subframe (list) clicking /users link:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE>tih.fmi.fi | Tunnusyhteenveto</TITLE>
</HEAD><BODY><h1 align=center>Käyttäjätunnusyhteenveto</h1>
<p align=right>
(Scripti /usr/local/www-tls/bin/tunnusyhteen.pl)<br>
Kari Hurtta, 22.11.2001
</p>
<h2>Luettelovalinta</h2><ul>
<li><a href="/users/menu/00002/0?src=fmi.fi">Luettele aliakset (fmi.fi)</a></li>
</ul>
<p><a href="/users">Palaa</a> pääsivulle</p>
<HR><TT>$Id: tunnusyhteen.pl,v 1.50 2001/11/22 12:46:25 hurtta Exp $
</TT></BODY></HTML>
loads new data to same subframe although /users link gives
Window-target: -header.
Expected Results: Expected result is that data comes to top level window
ie. same than what happens with Netscape 4.79
typescript for data what
GET /users HTTP/1.0
gives will be attached.
Reporter | ||
Comment 1•24 years ago
|
||
typescript for data what
GET /users HTTP/1.0
gives is here (I use openssl s_client for that because that page is on https.)
![]() |
||
Comment 2•24 years ago
|
||
Is there a site this could be tested on? I have a patch, but I'd sort of like
to test it...
Assignee: evaughan → bzbarsky
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → mozilla0.9.7
![]() |
||
Comment 3•24 years ago
|
||
OK. I have set up a test page at
http://www.zbarsky.org:8000/~bzbarsky/windowTargetTest.html
The bottom frame sends a "Window-target: _blank" header.
In netscape 4 this makes the bottom frame load in a new window! So
Window-target does not set the base target for the document (as I first thought)
but rather retargets the document on the fly.
Over to docshell; we somehow need to be able to retarget loads based on the http
data. :(
Assignee: bzbarsky → adamlock
Component: HTMLFrames → Embedding: Docshell
Priority: P2 → --
QA Contact: amar → adamlock
Target Milestone: mozilla0.9.7 → ---
![]() |
||
Comment 5•24 years ago
|
||
*** This bug has been marked as a duplicate of 97459 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•