Ejemplo n.º 1
0
 static v8::Handle<v8::Value> hrefAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) {
   INC_STATS("DOM.HTMLAnchorElement.href._get");
   HTMLAnchorElement* imp = V8HTMLAnchorElement::toNative(info.Holder());
   return v8String(imp->getURLAttribute(HTMLNames::hrefAttr));
 }
static v8::Handle<v8::Value> hrefAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    HTMLAnchorElement* imp = V8HTMLAnchorElement::toNative(info.Holder());
    return v8String(imp->getURLAttribute(WebCore::HTMLNames::hrefAttr), info.GetIsolate());
}