Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler

r=jst sr=jst
This commit is contained in:
timeless%mozdev.org 2006-04-20 03:39:13 +00:00
Родитель 169014cdac
Коммит 23c02af629
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -279,7 +279,7 @@ interface nsIXMLHttpRequest : nsISupports
[scriptable, function, uuid(6459B7CE-6B57-4934-A0AF-0133BA6F9085)]
interface nsIOnReadystatechangeHandler : nsISupports {
interface nsIOnReadyStateChangeHandler : nsISupports {
/**
* Helper to implement the onreadystatechange callback member.
* You should not need to use this.
@ -324,7 +324,7 @@ interface nsIJSXMLHttpRequest : nsISupports {
* After the initial response, all event listeners will be cleared.
* Call open() before setting new event listeners.
*/
attribute nsIOnReadystatechangeHandler onreadystatechange;
attribute nsIOnReadyStateChangeHandler onreadystatechange;
};
%{ C++

Просмотреть файл

@ -362,9 +362,9 @@ nsXMLHttpRequest::DispatchEvent(nsIDOMEvent *evt, PRBool *_retval)
return NS_OK;
}
/* attribute nsIOnReadystatechangeHandler onreadystatechange; */
/* attribute nsIOnReadyStateChangeHandler onreadystatechange; */
NS_IMETHODIMP
nsXMLHttpRequest::GetOnreadystatechange(nsIOnReadystatechangeHandler * *aOnreadystatechange)
nsXMLHttpRequest::GetOnreadystatechange(nsIOnReadyStateChangeHandler * *aOnreadystatechange)
{
NS_ENSURE_ARG_POINTER(aOnreadystatechange);
@ -375,7 +375,7 @@ nsXMLHttpRequest::GetOnreadystatechange(nsIOnReadystatechangeHandler * *aOnready
}
NS_IMETHODIMP
nsXMLHttpRequest::SetOnreadystatechange(nsIOnReadystatechangeHandler * aOnreadystatechange)
nsXMLHttpRequest::SetOnreadystatechange(nsIOnReadyStateChangeHandler * aOnreadystatechange)
{
mOnReadystatechangeListener = aOnreadystatechange;

Просмотреть файл

@ -140,7 +140,7 @@ protected:
nsCOMPtr<nsIDOMEventListener> mOnLoadListener;
nsCOMPtr<nsIDOMEventListener> mOnErrorListener;
nsCOMPtr<nsIOnReadystatechangeHandler> mOnReadystatechangeListener;
nsCOMPtr<nsIOnReadyStateChangeHandler> mOnReadystatechangeListener;
nsCOMPtr<nsIStreamListener> mXMLParserStreamListener;
nsCOMPtr<nsIEventQueueService> mEventQService;