예제 #1
0
JSValue jsValidityStateStepMismatch(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
    JSValidityState* castedThis = static_cast<JSValidityState*>(asObject(slot.slotBase()));
    UNUSED_PARAM(exec);
    ValidityState* imp = static_cast<ValidityState*>(castedThis->impl());
    return jsBoolean(imp->stepMismatch());
}
예제 #2
0
 static v8::Handle<v8::Value> stepMismatchAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) {
   INC_STATS("DOM.ValidityState.stepMismatch._get");
   ValidityState* imp = V8ValidityState::toNative(info.Holder());
   return v8Boolean(imp->stepMismatch());
 }