You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSObject* o = JSCallbackFunction::create(vm, thisObj->globalObject(), callAsFunction, name);
603
610
thisObj->putDirect(vm, propertyName, o, entry->attributes);
604
-
returno;
611
+
returnJSValue::encode(o);
605
612
}
606
613
}
607
614
}
608
615
}
609
616
}
610
617
611
-
return exec->vm().throwException(exec, createReferenceError(exec, ASCIILiteral("Static function property defined with NULL callAsFunction callback.")));
618
+
returnJSValue::encode(exec->vm().throwException(exec, createReferenceError(exec, ASCIILiteral("Static function property defined with NULL callAsFunction callback."))));
return exec->vm().throwException(exec, createReferenceError(exec, ASCIILiteral("hasProperty callback returned true for a property that doesn't exist.")));
650
+
returnJSValue::encode(exec->vm().throwException(exec, createReferenceError(exec, ASCIILiteral("hasProperty callback returned true for a property that doesn't exist."))));
0 commit comments