Merge mozilla-central to tracemonkey.
This commit is contained in:
@@ -2793,6 +2793,11 @@ js_XDRBlockObject(JSXDRState *xdr, JSObject **objp)
|
||||
}
|
||||
}
|
||||
|
||||
if (xdr->mode == JSXDR_DECODE) {
|
||||
/* Do as the parser does and make this block scope shareable. */
|
||||
OBJ_SCOPE(obj)->object = NULL;
|
||||
}
|
||||
|
||||
JS_POP_TEMP_ROOT(cx, &tvr);
|
||||
return ok;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user