Move the "force into tab" code out of Gecko and allow embeddors to do the same

sort of thing.  Bug 323810, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189344 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-02-07 20:46:39 +00:00
parent 22392d8ceb
commit e446371b8e
19 changed files with 936 additions and 693 deletions

View File

@@ -768,6 +768,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
nsresult rv;
switch(aVerb) {
case eLinkVerb_New:
NS_ASSERTION(target.IsEmpty(), "Losing window name information");
target.AssignLiteral("_blank");
// Fall into replace case
case eLinkVerb_Undefined: