зеркало из https://github.com/mozilla/pjs.git
Bug #56938 --> add a method for retrieving the doc loader's
document channel. r=sspitzer, sr=rpotts
This commit is contained in:
Родитель
43861bb84a
Коммит
a82d2ce063
|
@ -571,6 +571,13 @@ nsresult nsDocLoaderImpl::RemoveChildGroup(nsDocLoaderImpl* aLoader)
|
|||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocLoaderImpl::GetDocumentChannel(nsIChannel ** aChannel)
|
||||
{
|
||||
*aChannel = mDocumentChannel;
|
||||
NS_IF_ADDREF(*aChannel);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
void nsDocLoaderImpl::DocLoaderIsEmpty(nsresult aStatus)
|
||||
{
|
||||
|
|
|
@ -51,6 +51,7 @@ interface nsIDocumentLoader : nsISupports
|
|||
// this should really be in a private interface as it is only
|
||||
// called between a parent doc loader and it's child.
|
||||
void clearParentDocLoader();
|
||||
readonly attribute nsIChannel documentChannel;
|
||||
|
||||
void fireOnLocationChange(in nsIWebProgress aWebProgress,
|
||||
in nsIRequest aRequest,
|
||||
|
|
Загрузка…
Ссылка в новой задаче