зеркало из https://github.com/mozilla/pjs.git
Avoid asserting for user-controlled thing (through __proto__ setting). bug 387182, r+sr=jst
This commit is contained in:
Родитель
fe0c76df86
Коммит
1538eef7f6
|
@ -159,12 +159,12 @@ NS_IMETHODIMP XPC_MAP_CLASSNAME::DelProperty(nsIXPConnectWrappedNative *wrapper,
|
|||
|
||||
#ifndef XPC_MAP_WANT_GETPROPERTY
|
||||
NS_IMETHODIMP XPC_MAP_CLASSNAME::GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext * cx, JSObject * obj, jsval id, jsval * vp, PRBool *_retval)
|
||||
{NS_ERROR("never called"); return NS_ERROR_NOT_IMPLEMENTED;}
|
||||
{NS_WARNING("never called"); return NS_ERROR_NOT_IMPLEMENTED;}
|
||||
#endif
|
||||
|
||||
#ifndef XPC_MAP_WANT_SETPROPERTY
|
||||
NS_IMETHODIMP XPC_MAP_CLASSNAME::SetProperty(nsIXPConnectWrappedNative *wrapper, JSContext * cx, JSObject * obj, jsval id, jsval * vp, PRBool *_retval)
|
||||
{NS_ERROR("never called"); return NS_ERROR_NOT_IMPLEMENTED;}
|
||||
{NS_WARNING("never called"); return NS_ERROR_NOT_IMPLEMENTED;}
|
||||
#endif
|
||||
|
||||
#ifndef XPC_MAP_WANT_NEWENUMERATE
|
||||
|
|
Загрузка…
Ссылка в новой задаче