Lines Matching refs:xmlHttpRequest
47 #include "core/xml/XMLHttpRequest.h"
62 RefPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context, securityOrigin);
65 V8DOMWrapper::associateObjectWithWrapper<V8XMLHttpRequest>(xmlHttpRequest.release(), &info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
71 XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder());
73 ScriptValue text = xmlHttpRequest->responseText(es);
85 XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder());
87 switch (xmlHttpRequest->responseTypeCode()) {
88 case XMLHttpRequest::ResponseTypeDefault:
89 case XMLHttpRequest::ResponseTypeText:
93 case XMLHttpRequest::ResponseTypeDocument:
96 Document* document = xmlHttpRequest->responseXML(es);
99 v8SetReturnValue(info, toV8Fast(document, info, xmlHttpRequest));
103 case XMLHttpRequest::ResponseTypeBlob:
106 Blob* blob = xmlHttpRequest->responseBlob(es);
109 v8SetReturnValue(info, toV8Fast(blob, info, xmlHttpRequest));
113 case XMLHttpRequest::ResponseTypeArrayBuffer:
116 ArrayBuffer* arrayBuffer = xmlHttpRequest->responseArrayBuffer(es);
123 v8SetReturnValue(info, toV8Fast(arrayBuffer, info, xmlHttpRequest));
142 XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(args.Holder());
160 xmlHttpRequest->open(method, url, async, user, passwd, es);
162 xmlHttpRequest->open(method, url, async, user, es);
165 xmlHttpRequest->open(method, url, async, es);
168 xmlHttpRequest->open(method, url, es);
182 XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(args.Holder());
184 InspectorInstrumentation::willSendXMLHttpRequest(xmlHttpRequest->scriptExecutionContext(), xmlHttpRequest->url());
188 xmlHttpRequest->send(es);
193 xmlHttpRequest->send(es);
198 xmlHttpRequest->send(document, es);
203 xmlHttpRequest->send(blob, es);
208 xmlHttpRequest->send(domFormData, es);
213 xmlHttpRequest->send(arrayBuffer, es);
218 xmlHttpRequest->send(arrayBufferView, es);
220 xmlHttpRequest->send(toWebCoreStringWithNullCheck(arg), es);