mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
Restore old method order so that newer components implmenting this interface are still callable by 0.9.2/NS6.1 browsers. bug 96917. sr=vidur r=brendan a=drivers
This commit is contained in:
parent
5e402bc603
commit
1e2e8127fd
@ -81,15 +81,6 @@ interface nsIClassInfo : nsISupports
|
||||
*/
|
||||
readonly attribute nsCIDPtr classID;
|
||||
|
||||
/**
|
||||
* Also a class ID through which an instance of this class can be created
|
||||
* (or accessed as a service, if |flags & SINGLETON|). If the class does
|
||||
* not have a CID, it should return NS_ERROR_NOT_AVAILABLE. This attribute
|
||||
* exists so C++ callers can avoid allocating and freeing a CID, as would
|
||||
* happen if they used classID.
|
||||
*/
|
||||
[notxpcom] readonly attribute nsCID classIDNoAlloc;
|
||||
|
||||
/**
|
||||
* Return language type from list in nsIProgrammingLanguage
|
||||
*/
|
||||
@ -115,4 +106,20 @@ interface nsIClassInfo : nsISupports
|
||||
|
||||
|
||||
readonly attribute PRUint32 flags;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// The above methods and attributes existed in Netscape6.1 and mozilla0.9.2.
|
||||
// New methods and attributes must be added to the *end* of the interface
|
||||
// RESIST THE INCLINATION TO PLACE THEM ABOVE WHERE THEY *SEEM* TO BELONG.
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Also a class ID through which an instance of this class can be created
|
||||
* (or accessed as a service, if |flags & SINGLETON|). If the class does
|
||||
* not have a CID, it should return NS_ERROR_NOT_AVAILABLE. This attribute
|
||||
* exists so C++ callers can avoid allocating and freeing a CID, as would
|
||||
* happen if they used classID.
|
||||
*/
|
||||
[notxpcom] readonly attribute nsCID classIDNoAlloc;
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user