Closed Bug 287701 Opened 20 years ago Closed 20 years ago

anchor tags default to opening in new window called "content"

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 267657

People

(Reporter: sky, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050323 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050323 Firefox/1.0+

anchor tags default to opening in new window called "content"

Reproducible: Always

Steps to Reproduce:
1. Click the Black line (not the arrowhead)

*. clicking the blueline before you click the black line will set the
window.name to "content" which will then make it work, but this should be
unnecessary
Actual Results:  
new window opens with marker2.svg

Expected Results:  
marker2.svg opens in the same window

Possible solution: 
In
   chrome://svg/content/svgBindings.xml
the line:
   window.open(this.href, this.show=="new" ? "_blank" : "content", "");
should be replaced as:
   window.open(this.href, this.show=="new" ? "_blank" : "_self", "");
It should be "_content" I belive, but this has been reported.

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