Better explain nsIWebNavigation "document" attribute, fix spelling of "referringURI" attribute. b=192322 r=danm@netscape.com sr=bzbarsky@mit.edu a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@137737 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2396,7 +2396,7 @@ NS_IMETHODIMP nsDocShell::GotoIndex(PRInt32 aIndex)
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::LoadURI(const PRUnichar * aURI,
|
||||
PRUint32 aLoadFlags,
|
||||
nsIURI * aReferingURI,
|
||||
nsIURI * aReferringURI,
|
||||
nsIInputStream * aPostStream,
|
||||
nsIInputStream * aHeaderStream)
|
||||
{
|
||||
@@ -2441,7 +2441,7 @@ nsDocShell::LoadURI(const PRUnichar * aURI,
|
||||
PRUint32 loadType = MAKE_LOAD_TYPE(LOAD_NORMAL, aLoadFlags);
|
||||
loadInfo->SetLoadType(ConvertLoadTypeToDocShellLoadInfo(loadType));
|
||||
loadInfo->SetPostDataStream(aPostStream);
|
||||
loadInfo->SetReferrer(aReferingURI);
|
||||
loadInfo->SetReferrer(aReferringURI);
|
||||
loadInfo->SetHeadersStream(aHeaderStream);
|
||||
|
||||
rv = LoadURI(uri, loadInfo, 0, PR_TRUE);
|
||||
@@ -2787,7 +2787,7 @@ nsDocShell::GetCurrentURI(nsIURI ** aURI)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::GetReferingURI(nsIURI ** aURI)
|
||||
nsDocShell::GetReferringURI(nsIURI ** aURI)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
|
||||
|
||||
@@ -182,7 +182,9 @@ interface nsIWebNavigation : nsISupports
|
||||
void stop(in unsigned long stopFlags);
|
||||
|
||||
/**
|
||||
* Retrieves the current DOM document for the WebBrowser.
|
||||
* Retrieves the current DOM document for the frame, or lazily creates a
|
||||
* blank document if there is none. This attribute never returns null except
|
||||
* for unexpected error situations.
|
||||
*/
|
||||
readonly attribute nsIDOMDocument document;
|
||||
|
||||
@@ -192,9 +194,9 @@ interface nsIWebNavigation : nsISupports
|
||||
readonly attribute nsIURI currentURI;
|
||||
|
||||
/**
|
||||
* The refering URI.
|
||||
* The referring URI.
|
||||
*/
|
||||
readonly attribute nsIURI referingURI;
|
||||
readonly attribute nsIURI referringURI;
|
||||
|
||||
/**
|
||||
* The session history object used to store the session history for the
|
||||
|
||||
Reference in New Issue
Block a user