mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
fix for bug 12954 - was failing to set rval on DeleteProperty call
This commit is contained in:
parent
4230252d2e
commit
3b2ac26365
@ -415,6 +415,8 @@ WrappedNative_DeleteProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
|
||||
}
|
||||
}
|
||||
// else fall through and silently ignore
|
||||
NS_ASSERTION(vp, "hey the engine gave me a null pointer");
|
||||
*vp = JSVAL_FALSE;
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user