Bug 488363 - Missing write barrier on global object, r=jorendorff.
This commit is contained in:
@@ -3713,6 +3713,8 @@ js_DefineNativeProperty(JSContext *cx, JSObject *obj, jsid id, jsval value,
|
||||
JSScope *scope;
|
||||
JSScopeProperty *sprop;
|
||||
|
||||
js_LeaveTraceIfGlobalObject(cx, obj);
|
||||
|
||||
/* Convert string indices to integers if appropriate. */
|
||||
CHECK_FOR_STRING_INDEX(id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user