mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 630340 - Fix undefined value in compartment assertion (r=Waldo)
This commit is contained in:
parent
bb4fd3c0ab
commit
fa08e98f10
@ -2331,7 +2331,7 @@ DefinePropertyOnObject(JSContext *cx, JSObject *obj, const PropDesc &desc,
|
||||
* redefining it or we had invoked its setter to change its value).
|
||||
*/
|
||||
if (callDelProperty) {
|
||||
Value dummy;
|
||||
Value dummy = UndefinedValue();
|
||||
if (!CallJSPropertyOp(cx, obj2->getClass()->delProperty, obj2, desc.id, &dummy))
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user