Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
This commit is contained in:
@@ -436,7 +436,7 @@ JavaScriptParent::call(JSContext *cx, HandleObject proxy, const CallArgs &args)
|
||||
return false;
|
||||
|
||||
JSObject *obj = &outobjects[i].toObject();
|
||||
if (!JS_SetProperty(cx, obj, "value", &v))
|
||||
if (!JS_SetProperty(cx, obj, "value", v))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user