Closed Bug 33846 Opened 24 years ago Closed 24 years ago

window.open( url, "_top" ) opens a new window

Categories

(Core :: JavaScript Engine, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 32342

People

(Reporter: marc.loiselle, Assigned: rogerl)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; N; Linux 2.2.5-15 i586; en-US; m14)
BuildID:    2000032909

window.open( url, "_top" ) opens a new window

Reproducible: Always
Steps to Reproduce:
1.start mozilla.  go to http://www.uhfmag.com/
2.Select something from "Take me to" menu.
3.A new window opens
4.Select something from "Take me to" menu in new window.
5.Content of new window is updated.


Expected Results:  Initial window should have _top as its name so that any
updating of _top actually causes the initial window to change.

Test case
<HEAD>
<script language="Javascript">
function loadPage()
{
  window.open( "test.html", "_top" );
}
</script>
</HEAD>
<HTML>
<A HREF="test.html" ONCLICK="loadPage()">click here</A>
</HTML>
= bug 32342

*** This bug has been marked as a duplicate of 32342 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.