mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
Bug 701662 - Serialize filenames in JS_XDRFunctionObject, r=igor
This commit is contained in:
parent
b953409eea
commit
1015f54fda
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user