static void valueAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.HTMLSelectElement.value._set"); HTMLSelectElement* imp = V8HTMLSelectElement::toNative(info.Holder()); V8Parameter<WithNullCheck> v = value; imp->setValue(v); return; }
void setJSHTMLSelectElementValue(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLSelectElement* castedThis = static_cast<JSHTMLSelectElement*>(thisObject); HTMLSelectElement* imp = static_cast<HTMLSelectElement*>(castedThis->impl()); imp->setValue(valueToStringWithNullCheck(exec, value)); }