зеркало из https://github.com/mozilla/pjs.git
Remove assertions so that you can set properties on XUL elements.
This commit is contained in:
Родитель
00b5823a65
Коммит
07207e9705
|
@ -17,6 +17,9 @@
|
||||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||||
* Rights Reserved.
|
* Rights Reserved.
|
||||||
*
|
*
|
||||||
|
* Original Author(s):
|
||||||
|
* Chris Waterson <waterson@netscape.com>
|
||||||
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||||
*
|
*
|
||||||
|
@ -2121,15 +2124,13 @@ nsXULElement::CompileEventHandler(nsIScriptContext* aContext,
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::AddProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::AddProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::DeleteProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::DeleteProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
|
@ -2141,15 +2142,14 @@ nsXULElement::GetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::SetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::SetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
// XXXwaterson do the event handlers here!
|
||||||
return PR_FALSE;
|
return PR_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::EnumerateProperty(JSContext *aContext, JSObject *aObj)
|
nsXULElement::EnumerateProperty(JSContext *aContext, JSObject *aObj)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2163,15 +2163,13 @@ nsXULElement::Resolve(JSContext *aContext, JSObject *aObj, jsval aID)
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::Convert(JSContext *aContext, JSObject *aObj, jsval aID)
|
nsXULElement::Convert(JSContext *aContext, JSObject *aObj, jsval aID)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
nsXULElement::Finalize(JSContext *aContext, JSObject *aObj)
|
nsXULElement::Finalize(JSContext *aContext, JSObject *aObj)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||||
* Rights Reserved.
|
* Rights Reserved.
|
||||||
*
|
*
|
||||||
|
* Original Author(s):
|
||||||
|
* Chris Waterson <waterson@netscape.com>
|
||||||
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||||
* Rights Reserved.
|
* Rights Reserved.
|
||||||
*
|
*
|
||||||
|
* Original Author(s):
|
||||||
|
* Chris Waterson <waterson@netscape.com>
|
||||||
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||||
*
|
*
|
||||||
|
@ -2121,15 +2124,13 @@ nsXULElement::CompileEventHandler(nsIScriptContext* aContext,
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::AddProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::AddProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::DeleteProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::DeleteProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
|
@ -2141,15 +2142,14 @@ nsXULElement::GetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::SetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
nsXULElement::SetProperty(JSContext *aContext, JSObject *aObj, jsval aID, jsval *aVp)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
// XXXwaterson do the event handlers here!
|
||||||
return PR_FALSE;
|
return PR_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::EnumerateProperty(JSContext *aContext, JSObject *aObj)
|
nsXULElement::EnumerateProperty(JSContext *aContext, JSObject *aObj)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2163,15 +2163,13 @@ nsXULElement::Resolve(JSContext *aContext, JSObject *aObj, jsval aID)
|
||||||
PRBool
|
PRBool
|
||||||
nsXULElement::Convert(JSContext *aContext, JSObject *aObj, jsval aID)
|
nsXULElement::Convert(JSContext *aContext, JSObject *aObj, jsval aID)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
return PR_TRUE;
|
||||||
return PR_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
nsXULElement::Finalize(JSContext *aContext, JSObject *aObj)
|
nsXULElement::Finalize(JSContext *aContext, JSObject *aObj)
|
||||||
{
|
{
|
||||||
NS_NOTYETIMPLEMENTED("write me");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||||
* Rights Reserved.
|
* Rights Reserved.
|
||||||
*
|
*
|
||||||
|
* Original Author(s):
|
||||||
|
* Chris Waterson <waterson@netscape.com>
|
||||||
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче