static v8::Handle<v8::Value> urlAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.BeforeLoadEvent.url._get"); BeforeLoadEvent* imp = V8BeforeLoadEvent::toNative(info.Holder()); return v8String(imp->url()); }
static v8::Handle<v8::Value> urlAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { BeforeLoadEvent* imp = V8BeforeLoadEvent::toNative(info.Holder()); return v8String(imp->url(), info.GetIsolate()); }