| 127 | return prototype; |
| 128 | } |
| 129 | auto object = JS_NewObjectProtoClass(context, prototype, getWrappedObjectClassDef()->classID); |
| 130 | JS_FreeValue(context, prototype); |
| 131 | if (JS_IsException(object)) { |
| 132 | return object; |
| 133 | } |
| 134 | callContext.setThisValue(toValdiJSValue(object)); |
| 135 | |
| 136 | if (handleInterrupt(valdiJsContext, exceptionTracker)) { |
no test coverage detected