コード例 #1
0
JSValue jsValidityStateRangeOverflow(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->rangeOverflow());
}
コード例 #2
0
 static v8::Handle<v8::Value> rangeOverflowAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) {
   INC_STATS("DOM.ValidityState.rangeOverflow._get");
   ValidityState* imp = V8ValidityState::toNative(info.Holder());
   return v8Boolean(imp->rangeOverflow());
 }