Home | History | Annotate | Download | only in custom

Lines Matching defs:eventSource

33 #if ENABLE(EVENTSOURCE)
36 #include "EventSource.h"
48 INC_STATS("DOM.EventSource.Constructor");
54 // Allocate an EventSource object as its internal field.
57 return throwError("EventSource constructor's associated context is not available", V8Proxy::ReferenceError);
64 RefPtr<EventSource> eventSource = EventSource::create(url, context, ec);
69 V8DOMWrapper::setDOMWrapper(args.Holder(), &info, eventSource.get());
72 eventSource->ref();
73 V8DOMWrapper::setJSWrapperForActiveDOMObject(eventSource.get(), v8::Persistent<v8::Object>::New(args.Holder()));
79 #endif // ENABLE(EVENTSOURCE)