b=291178
InstallTrigger.getVersion gone in Firefox 1.0.3 r=timeless sr=dveditz --pete
This commit is contained in:
Родитель
141503428e
Коммит
4b81ee1446
|
@ -202,9 +202,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalUpdateEnabled(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
*rval = JSVAL_FALSE;
|
||||
|
||||
|
@ -231,9 +229,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalInstall(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
*rval = JSVAL_FALSE;
|
||||
|
||||
|
@ -410,9 +406,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalInstallChrome(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
uint32 chromeType = NOT_CHROME;
|
||||
nsAutoString sourceURL;
|
||||
|
@ -505,9 +499,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalStartSoftwareUpdate(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
PRBool nativeRet;
|
||||
PRInt32 flags = 0;
|
||||
|
@ -596,9 +588,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalCompareVersion(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
nsAutoString regname;
|
||||
nsAutoString version;
|
||||
|
@ -699,9 +689,7 @@ PR_STATIC_CALLBACK(JSBool)
|
|||
InstallTriggerGlobalGetVersion(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, argv);
|
||||
if (!nativeThis)
|
||||
return JS_FALSE;
|
||||
JS_GetInstancePrivate(cx, obj, &InstallTriggerGlobalClass, 0);
|
||||
|
||||
nsAutoString regname;
|
||||
nsAutoString version;
|
||||
|
|
Загрузка…
Ссылка в новой задаче