JSValue jsHTMLHeadElementProfile(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLHeadElement* castedThis = static_cast<JSHTMLHeadElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLHeadElement* imp = static_cast<HTMLHeadElement*>(castedThis->impl()); JSValue result = jsString(exec, imp->getAttribute(WebCore::HTMLNames::profileAttr)); return result; }