Back out cset 1f862b370ab3 (bug 1234177) for landing with wrong author.

This commit is contained in:
Kartikaya Gupta 2015-12-24 14:16:55 -05:00
parent 1e99613f69
commit bccc4f04dc

View File

@ -205,8 +205,7 @@ public:
if (JS::IsCallable(aObj)) {
if (mOptions->cloneFunctions) {
if (!mFunctions.append(aObj))
return false;
mFunctions.append(aObj);
return JS_WriteUint32Pair(aWriter, SCTAG_FUNCTION, mFunctions.length() - 1);
} else {
JS_ReportError(aCx, "Permission denied to pass a Function via structured clone");