static v8::Handle<v8::Value> lengthAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.DOMStringList.length._get"); DOMStringList* imp = V8DOMStringList::toNative(info.Holder()); return v8::Integer::NewFromUnsigned(imp->length()); }
static v8::Handle<v8::Value> lengthAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { DOMStringList* imp = V8DOMStringList::toNative(info.Holder()); return v8UnsignedInteger(imp->length(), info.GetIsolate()); }