This project is read-only.


Bug at the Marshaller.MarshalJsFunctionHelper


The AllowClr Property bug:
    object MarshalJsFunctionHelper(JsFunction func, Type delegateType)
        // create independent visitor
        ExecutionVisitor visitor = new ExecutionVisitor(m_global, new JsScope((JsObject)m_global));
        var v = ((ExecutionVisitor)m_global.Visitor);
        visitor.AllowClr = v.AllowClr;
        visitor.PermissionSet = v.PermissionSet;
        JsFunctionDelegate wrapper = new JsFunctionDelegate(visitor, func, JsNull.Instance, delegateType);
        return wrapper.GetDelegate();
Closed Oct 3, 2014 at 6:43 PM by sebastienros
Jint has been rewritten and this issue should be fixed in the new version. Please check it on or on using the nuget package here:


sebastienros wrote Aug 16, 2011 at 2:27 AM

Fixed in changeset e21080175364