static v8::Handle<v8::Value> objectStoreCallback(const v8::Arguments& args) { INC_STATS("DOM.IDBTransaction.objectStore"); IDBTransaction* imp = V8IDBTransaction::toNative(args.Holder()); ExceptionCode ec = 0; { STRING_TO_V8PARAMETER_EXCEPTION_BLOCK(V8Parameter<>, name, MAYBE_MISSING_PARAMETER(args, 0, MissingIsUndefined)); RefPtr<IDBObjectStore> result = imp->objectStore(name, ec); if (UNLIKELY(ec)) goto fail; return toV8(result.release()); } fail: V8Proxy::setDOMException(ec); return v8::Handle<v8::Value>(); }