Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@58158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
|
||||
@@ -81,7 +81,6 @@ enum Document_slots {
|
||||
NSDOCUMENT_HEIGHT = -5,
|
||||
NSDOCUMENT_STYLESHEETS = -6,
|
||||
NSDOCUMENT_CHARACTERSET = -7
|
||||
|
||||
};
|
||||
|
||||
/***********************************************************************/
|
||||
@@ -937,7 +936,7 @@ static JSPropertySpec DocumentProperties[] =
|
||||
{"height", NSDOCUMENT_HEIGHT, JSPROP_ENUMERATE | JSPROP_READONLY},
|
||||
{"styleSheets", NSDOCUMENT_STYLESHEETS, JSPROP_ENUMERATE | JSPROP_READONLY},
|
||||
{"characterSet", NSDOCUMENT_CHARACTERSET, JSPROP_ENUMERATE | JSPROP_READONLY},
|
||||
{0}
|
||||
{0}
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -453,7 +453,7 @@ GetHTMLInputElementProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
result = b->GetControllers(&prop);
|
||||
if(NS_SUCCEEDED(result)) {
|
||||
// get the js object; n.b., this will do a release on 'prop'
|
||||
nsJSUtils::nsConvertXPCObjectToJSVal(prop, nsIControllers::GetIID(), cx, obj, vp);
|
||||
nsJSUtils::nsConvertXPCObjectToJSVal(prop, NS_GET_IID(nsIControllers), cx, obj, vp);
|
||||
NS_RELEASE(b);
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
|
||||
@@ -301,7 +301,7 @@ GetHTMLTextAreaElementProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp
|
||||
result = b->GetControllers(&prop);
|
||||
if(NS_SUCCEEDED(result)) {
|
||||
// get the js object; n.b., this will do a release on 'prop'
|
||||
nsJSUtils::nsConvertXPCObjectToJSVal(prop, nsIControllers::GetIID(), cx, obj, vp);
|
||||
nsJSUtils::nsConvertXPCObjectToJSVal(prop, NS_GET_IID(nsIControllers), cx, obj, vp);
|
||||
NS_RELEASE(b);
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -53,6 +53,8 @@ static const char *kNPLStr = \
|
||||
" * Communications Corporation. Portions created by Netscape are\n"
|
||||
" * Copyright (C) 1998 Netscape Communications Corporation. All\n"
|
||||
" * Rights Reserved.\n"
|
||||
" *\n"
|
||||
" * Contributor(s): \n"
|
||||
" */\n";
|
||||
static const char *kDisclaimerStr = "/* AUTO-GENERATED. DO NOT EDIT!!! */\n";
|
||||
static const char *kObjTypeStr = "nsIDOM%s*";
|
||||
|
||||
Reference in New Issue
Block a user