JSValue jsHTMLLinkElementSheet(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->sheet())); return result; }
JSValue jsHTMLLinkElementType(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); JSValue result = jsString(exec, imp->getAttribute(WebCore::HTMLNames::typeAttr)); return result; }
JSValue jsHTMLLinkElementDisabled(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); JSValue result = jsBoolean(imp->disabled()); return result; }
JSValue jsHTMLLinkElementTarget(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); JSValue result = jsString(exec, imp->target()); return result; }
void setJSHTMLLinkElementType(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(thisObject); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); imp->setAttribute(WebCore::HTMLNames::typeAttr, valueToStringWithNullCheck(exec, value)); }
void setJSHTMLLinkElementDisabled(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLLinkElement* castedThis = static_cast<JSHTMLLinkElement*>(thisObject); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThis->impl()); imp->setDisabled(value.toBoolean(exec)); }
void setJSHTMLLinkElementType(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLLinkElement* castedThisObj = static_cast<JSHTMLLinkElement*>(thisObject); HTMLLinkElement* imp = static_cast<HTMLLinkElement*>(castedThisObj->impl()); imp->setType(valueToStringWithNullCheck(exec, value)); }