Lines Matching refs:Local
84 // The callback function on XMLHttpRequest can clear the event listener and destroys 'this' object. Keep a local reference to it.
96 invokeEventHandler(event, v8::Local<v8::Value>::New(isolate(), jsEvent));
105 void V8AbstractEventListener::invokeEventHandler(Event* event, v8::Local<v8::Value> jsEvent)
112 v8::Local<v8::Value> returnValue;
119 v8::Local<v8::Value> savedEvent = V8HiddenValue::getHiddenValue(isolate(), scriptState()->context()->Global(), V8HiddenValue::event(isolate()));
157 bool V8AbstractEventListener::shouldPreventDefault(v8::Local<v8::Value> returnValue)
164 v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(Event* event)
166 v8::Local<v8::Object> listener = m_listener.newLocal(isolate());
173 return v8::Local<v8::Object>();
174 return v8::Local<v8::Object>::New(isolate(), v8::Handle<v8::Object>::Cast(value));