JSValue jsTestExceptionConstructor(ExecState* exec, JSValue slotBase, PropertyName) { JSTestException* domObject = jsCast<JSTestException*>(asObject(slotBase)); return JSTestException::getConstructor(exec, domObject->globalObject()); }