Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz

This commit is contained in:
Jon Coppeard
2013-07-26 10:00:38 +01:00
parent 9a8036dfc5
commit 7ab147be05
25 changed files with 81 additions and 83 deletions

View File

@@ -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;
}