mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out cset 1f862b370ab3 (bug 1234177) for landing with wrong author.
This commit is contained in:
parent
1e99613f69
commit
bccc4f04dc
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user