Bug 701662 - Serialize filenames in JS_XDRFunctionObject, r=igor

This commit is contained in:
Michael Wu 2011-12-20 11:31:45 -08:00
parent a1d31dd8dd
commit 37d2a6827a

View File

@ -695,6 +695,9 @@ JS_XDRFunctionObject(JSXDRState *xdr, JSObject **objp)
fstate.filename = fun->script()->filename;
}
if (!JS_XDRCStringOrNull(xdr, (char **) &fstate.filename))
return false;
return js_XDRFunctionObject(xdr, objp);
}