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 b953409eea
commit 1015f54fda

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