183415, typo in PAC's getClassObject (double negation instead of single one);

also add nsIRequestObserver to getClassObject's interface list.
r=darin sr=bzbarsky; thanks to Nathan Kurz who suggested (the first part of) this patch
This commit is contained in:
cbiesinger%web.de 2004-03-01 21:23:45 +00:00
Родитель d4e5220db0
Коммит 65a4c62ead
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -206,7 +206,8 @@ pacFactory.createInstance =
throw Components.results.NS_ERROR_NO_AGGREGATION;
if (!iid.equals(nsIProxyAutoConfig) &&
!!iid.equals(Components.interfaces.nsIStreamListener) &&
!iid.equals(Components.interfaces.nsIStreamListener) &&
!iid.equals(Components.interfaces.nsIRequestObserver) &&
!iid.equals(Components.interfaces.nsISupports)) {
// shouldn't this be NO_INTERFACE?
throw Components.results.NS_ERROR_INVALID_ARG;