Esempio n. 1
0
void JSHTMLIsIndexElement::putValueProperty(ExecState* exec, int token, JSValue* value)
{
    switch (token) {
    case PromptAttrNum: {
        HTMLIsIndexElement* imp = static_cast<HTMLIsIndexElement*>(impl());
        imp->setPrompt(valueToStringWithNullCheck(exec, value));
        break;
    }
    }
}
void setJSHTMLIsIndexElementPrompt(ExecState* exec, JSObject* thisObject, JSValue value)
{
    HTMLIsIndexElement* imp = static_cast<HTMLIsIndexElement*>(static_cast<JSHTMLIsIndexElement*>(thisObject)->impl());
    imp->setPrompt(valueToStringWithNullCheck(exec, value));
}