JSValue jsHTMLFormElementTarget(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSHTMLFormElement* castedThis = static_cast<JSHTMLFormElement*>(asObject(slot.slotBase())); UNUSED_PARAM(exec); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThis->impl()); return jsString(exec, imp->target()); }
JSValue jsHTMLFormElementNoValidate(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSHTMLFormElement* castedThis = static_cast<JSHTMLFormElement*>(asObject(slot.slotBase())); UNUSED_PARAM(exec); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThis->impl()); return jsBoolean(imp->noValidate()); }
JSValue JSC_HOST_CALL jsHTMLFormElementPrototypeFunctionSubmit(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSHTMLFormElement::s_info)) return throwError(exec, TypeError); JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(asObject(thisValue)); return castedThisObj->submit(exec, args); }
JSValue jsHTMLFormElementTarget(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLFormElement* castedThis = static_cast<JSHTMLFormElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThis->impl()); JSValue result = jsString(exec, imp->target()); return result; }
JSValue jsHTMLFormElementNoValidate(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLFormElement* castedThis = static_cast<JSHTMLFormElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThis->impl()); JSValue result = jsBoolean(imp->noValidate()); return result; }
JSValue* jsHTMLFormElementPrototypeFunctionReset(ExecState* exec, JSObject*, JSValue* thisValue, const ArgList& args) { if (!thisValue->isObject(&JSHTMLFormElement::s_info)) return throwError(exec, TypeError); JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(thisValue); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThisObj->impl()); imp->reset(); return jsUndefined(); }
JSValue JSC_HOST_CALL jsHTMLFormElementPrototypeFunctionReset(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSHTMLFormElement::s_info)) return throwError(exec, TypeError); JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(asObject(thisValue)); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThisObj->impl()); imp->reset(); return jsUndefined(); }
JSValue JSC_HOST_CALL jsHTMLFormElementPrototypeFunctionCheckValidity(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSHTMLFormElement::s_info)) return throwError(exec, TypeError); JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(asObject(thisValue)); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThisObj->impl()); JSC::JSValue result = jsBoolean(imp->checkValidity()); return result; }
JSValue* JSHTMLFormElement::indexGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) { JSHTMLFormElement* thisObj = static_cast<JSHTMLFormElement*>(slot.slotBase()); return toJS(exec, static_cast<HTMLFormElement*>(thisObj->impl())->item(slot.index())); }
JSValue JSHTMLFormElement::indexGetter(ExecState* exec, JSValue slotBase, unsigned index) { JSHTMLFormElement* thisObj = static_cast<JSHTMLFormElement*>(asObject(slotBase)); return toJS(exec, thisObj->globalObject(), static_cast<HTMLFormElement*>(thisObj->impl())->item(index)); }
void setJSHTMLFormElementTarget(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(thisObject); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThisObj->impl()); imp->setTarget(valueToStringWithNullCheck(exec, value)); }
void setJSHTMLFormElementNoValidate(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLFormElement* castedThisObj = static_cast<JSHTMLFormElement*>(thisObject); HTMLFormElement* imp = static_cast<HTMLFormElement*>(castedThisObj->impl()); imp->setNoValidate(value.toBoolean(exec)); }
JSValue jsHTMLFormElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLFormElement* domObject = static_cast<JSHTMLFormElement*>(asObject(slotBase)); return JSHTMLFormElement::getConstructor(exec, domObject->globalObject()); }
JSValue jsHTMLFormElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSHTMLFormElement* domObject = static_cast<JSHTMLFormElement*>(asObject(slot.slotBase())); return JSHTMLFormElement::getConstructor(exec, domObject->globalObject()); }