Fixed JS complaints about missing 'prototype'
This was SVN commit r988.
This commit is contained in:
parent
cc9ae228f9
commit
ed9671e8d7
@ -1,4 +1,4 @@
|
|||||||
// $Id: JSInterface_IGUIObject.cpp,v 1.9 2004/07/31 11:29:28 philip Exp $
|
// $Id: JSInterface_IGUIObject.cpp,v 1.10 2004/08/14 11:23:38 philip Exp $
|
||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|
||||||
@ -36,6 +36,7 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsval id, jsval
|
|||||||
// just for efficiency, and to allow correct reporting of attempts to access
|
// just for efficiency, and to allow correct reporting of attempts to access
|
||||||
// nonexistent properties.)
|
// nonexistent properties.)
|
||||||
if (propName == (CStr)"constructor" ||
|
if (propName == (CStr)"constructor" ||
|
||||||
|
propName == (CStr)"prototype" ||
|
||||||
propName == (CStr)"toString" ||
|
propName == (CStr)"toString" ||
|
||||||
propName == (CStr)"getByName"
|
propName == (CStr)"getByName"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user