зеркало из https://github.com/mozilla/pjs.git
Bug 295854 (new InstallVersion()).compareTo(/x/) crashes [@ConvertJSValToObj]
Marking JSCLASS_PRIVATE_IS_NSISUPPORTS on InstallVersionClass remove extra definitions of ConvertJSValToObj to prevent confusion r=dveditz sr=dveditz a=dveditz
This commit is contained in:
Родитель
71b142514a
Коммит
7c5893a7a7
|
@ -71,12 +71,6 @@ extern PRBool ConvertJSValToBool(PRBool* aProp,
|
|||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
|
||||
REFNSIID aIID,
|
||||
const nsString& aTypeName,
|
||||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern JSObject *gFileSpecProto;
|
||||
extern JSClass InstallClass;
|
||||
|
||||
|
|
|
@ -56,12 +56,6 @@ extern PRBool ConvertJSValToBool(PRBool* aProp,
|
|||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
|
||||
REFNSIID aIID,
|
||||
const nsString& aTypeName,
|
||||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
|
||||
|
||||
static void PR_CALLBACK
|
||||
|
|
|
@ -70,12 +70,6 @@ extern PRBool ConvertJSValToBool(PRBool* aProp,
|
|||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
|
||||
REFNSIID aIID,
|
||||
const nsString& aTypeName,
|
||||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
PR_STATIC_CALLBACK(void)
|
||||
FinalizeInstallTriggerGlobal(JSContext *cx, JSObject *obj);
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ FinalizeInstallVersion(JSContext *cx, JSObject *obj);
|
|||
//
|
||||
JSClass InstallVersionClass = {
|
||||
"InstallVersion",
|
||||
JSCLASS_HAS_PRIVATE,
|
||||
JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
GetInstallVersionProperty,
|
||||
|
|
|
@ -56,12 +56,6 @@ extern PRBool ConvertJSValToBool(PRBool* aProp,
|
|||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
|
||||
REFNSIID aIID,
|
||||
const nsString& aTypeName,
|
||||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
|
||||
static void PR_CALLBACK
|
||||
WinProfileCleanup(JSContext *cx, JSObject *obj);
|
||||
|
|
|
@ -58,12 +58,6 @@ extern PRBool ConvertJSValToBool(PRBool* aProp,
|
|||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
|
||||
REFNSIID aIID,
|
||||
const nsString& aTypeName,
|
||||
JSContext* aContext,
|
||||
jsval aValue);
|
||||
|
||||
|
||||
static void PR_CALLBACK WinRegCleanup(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче