General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4448,7 +4448,7 @@ nsDocShell::CreateAboutBlankContentViewer()
|
||||
Embed(viewer, "", 0);
|
||||
viewer->SetDOMDocument(domdoc);
|
||||
|
||||
SetCurrentURI(blankDoc->GetDocumentURL());
|
||||
SetCurrentURI(blankDoc->GetDocumentURI());
|
||||
rv = NS_OK;
|
||||
}
|
||||
}
|
||||
@@ -7126,7 +7126,7 @@ nsDocShell::SetBaseUrlForWyciwyg(nsIContentViewer * aContentViewer)
|
||||
if (docViewer) {
|
||||
rv = docViewer->GetDocument(getter_AddRefs(document));
|
||||
if (document)
|
||||
rv = document->SetBaseURL(baseURI);
|
||||
rv = document->SetBaseURI(baseURI);
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
|
||||
@@ -630,7 +630,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
||||
nsCOMPtr<nsIDocument> refererDoc(do_QueryInterface(refererOwnerDoc));
|
||||
NS_ENSURE_TRUE(refererDoc, NS_ERROR_UNEXPECTED);
|
||||
|
||||
nsIURI *referer = refererDoc->GetDocumentURL();
|
||||
nsIURI *referer = refererDoc->GetDocumentURI();
|
||||
|
||||
// referer could be null here in some odd cases, but that's ok,
|
||||
// we'll just load the link w/o sending a referer in those cases.
|
||||
|
||||
Reference in New Issue
Block a user