HomeSort by relevance Sort by last modified time
    Searched refs:xhr (Results 26 - 50 of 70) sorted by null

12 3

  /external/chromium_org/chrome/browser/resources/image_loader/
request.js 197 // Fetch the image via authorized XHR and parse it.
209 // Request raw data via XHR.
296 * @return {AuthorizedXHR} XHR instance.
300 var xhr = new XMLHttpRequest();
301 xhr.responseType = 'blob';
303 xhr.onreadystatechange = function() {
304 if (xhr.readyState != 4)
306 if (xhr.status != 200) {
307 onFailure(xhr.status);
310 var contentType = xhr.getResponseHeader('Content-Type')
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
background.js 149 var xhr = new XMLHttpRequest();
151 xhr.abort(); // synchronously calls onreadystatechange
171 xhr.onreadystatechange = function() {
172 if (xhr.readyState != 4)
175 if (xhr.responseXML) {
176 var xmlDoc = xhr.responseXML;
191 xhr.onerror = function(error) {
195 xhr.open("GET", getFeedUrl(), true);
196 xhr.send(null);
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
chrome_ex_oauth.js 133 * xhr {XMLHttpRequest} The XMLHttpRequest object which was used to
152 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) {
153 if (xhr.readyState == 4) {
154 callback(xhr.responseText, xhr);
161 * result. Useful if you need a signed url but don't want to make an XHR
287 var xhr = new XMLHttpRequest();
288 xhr.onreadystatechange = function(data) {
289 callback(xhr, data);
291 xhr.open(method, url, true)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
chrome_ex_oauth.js 133 * xhr {XMLHttpRequest} The XMLHttpRequest object which was used to
152 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) {
153 if (xhr.readyState == 4) {
154 callback(xhr.responseText, xhr);
161 * result. Useful if you need a signed url but don't want to make an XHR
287 var xhr = new XMLHttpRequest();
288 xhr.onreadystatechange = function(data) {
289 callback(xhr, data);
291 xhr.open(method, url, true)
    [all...]
background.js 25 function onContacts(text, xhr) {
  /external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
background.js 324 var xhr = new XMLHttpRequest();
326 xhr.onreadystatechange = CalendarManager.genResponseChangeFunc(xhr);
327 xhr.onerror = function(error) {
338 xhr.open('GET', url);
339 xhr.send(null);
351 * @param {xmlHttpRequest} xhr xmlHttpRequest object containing server response.
354 CalendarManager.genResponseChangeFunc = function(xhr) {
356 if (xhr.readyState != 4) {
359 if (!xhr.responseXML)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
background.js 329 var xhr = new XMLHttpRequest();
331 xhr.onreadystatechange = CalendarManager.genResponseChangeFunc(xhr);
332 xhr.onerror = function(error) {
343 xhr.open('GET', url);
344 xhr.send(null);
356 * @param {xmlHttpRequest} xhr xmlHttpRequest object containing server response.
359 CalendarManager.genResponseChangeFunc = function(xhr) {
361 if (xhr.readyState != 4) {
364 if (!xhr.responseXML)
    [all...]
  /external/chromium_org/remoting/webapp/
host_list.js 167 /** @param {XMLHttpRequest} xhr The response from the server. */
174 remoting.xhr.get(
192 * @param {XMLHttpRequest} xhr The XHR object for the host list request.
196 remoting.HostList.prototype.parseHostListResponse_ = function(onDone, xhr) {
199 if (xhr.status == 200) {
201 /** @type {{data: {items: Array}}} */ jsonParseSafe(xhr.responseText);
227 console.error('Bad status on host list query: ', xhr);
228 if (xhr.status == 0) {
230 } else if (xhr.status == 401)
    [all...]
host_controller.js 192 * @param {XMLHttpRequest} xhr
195 hostName, publicKey, privateKey, xhr) {
196 var success = (xhr.status == 200);
199 var result = jsonParseSafe(xhr.responseText);
216 console.log('Failed to register the host. Status: ' + xhr.status +
217 ' response: ' + xhr.responseText);
246 registerHostUrl += '?' + remoting.xhr.urlencodeParamHash(
250 remoting.xhr.post(
session_connector.js 333 this.pendingXhr_ = remoting.xhr.get(
344 * @param {XMLHttpRequest} xhr The server response to the support-hosts query.
348 remoting.SessionConnector.prototype.onIT2MeHostInfo_ = function(xhr) {
350 if (xhr.status == 200) {
352 jsonParseSafe(xhr.responseText);
363 this.onError_(this.translateSupportHostsError(xhr.status));
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
utilities.js     [all...]
InspectorBackend.js 298 var xhr = new XMLHttpRequest();
299 xhr.open("GET", jsonUrl, false);
300 xhr.send(null);
302 var schema = JSON.parse(xhr.responseText);
View.js 339 var xhr = new XMLHttpRequest();
340 xhr.open("GET", cssFile, false);
341 xhr.send(null);
345 styleElement.textContent = xhr.responseText + this._buildSourceURL(cssFile);
FilteredItemSelectionDialog.js 41 var xhr = new XMLHttpRequest();
42 xhr.open("GET", "filteredItemSelectionDialog.css", false);
43 xhr.send(null);
50 styleElement.textContent = xhr.responseText;
resourcesPanel.css 308 .resource-sidebar-tree-item.resources-type-xhr .icon {
312 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon {
  /external/chromium_org/chrome/third_party/chromevox/chromevox/background/mathmaps/
math_map.js 195 var xhr = new XMLHttpRequest();
196 xhr.open('GET', url, false);
197 xhr.send();
198 return xhr.responseText;
  /external/chromium/chrome/common/extensions/docs/js/
api_page_generator.js 9 * It expects to have available via XHR (relative path):
161 * Fetches |url| and returns it's text contents from the xhr.responseText in
166 var xhr = new XMLHttpRequest();
168 xhr.abort();
169 console.log("XHR Timed out");
183 xhr.onreadystatechange = function(){
184 if (xhr.readyState == 4) {
185 if (xhr.status < 300 && xhr.responseText) {
187 onSuccess(xhr.responseText)
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
event_page.js 38 WallpaperUtil.fetchURL(Constants.WallpaperRssURL, 'document', function(xhr) {
40 new XMLSerializer().serializeToString(xhr.responseXML), false);
41 self.updateSurpriseWallpaper(xhr.responseXML);
175 WallpaperUtil.fetchURL(url, 'arraybuffer', function(xhr) {
176 if (xhr.response != null) {
177 chrome.wallpaperPrivate.setCustomWallpaper(xhr.response, layout, false,
  /external/chromium_org/chrome_frame/test/data/
chrome_frame_tester_helpers.js 52 var xhr = getXHRObject();
53 if(!xhr)
57 xhr.open("POST", reportURL + name, true);
58 xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
60 xhr.send(result);
62 appendStatus("XHR send failed. Error: " + e.description);
  /external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
dojo-1.6.1.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/resources/
runner.js 53 var xhr = new XMLHttpRequest();
54 xhr.open("GET", path, false);
55 xhr.send(null);
56 return xhr.responseText;
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
treemap.js 273 function(xhr) {
277 tree.extraDom.textContent = xhr.responseText;
279 function (xhr) {
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorInstrumentation.idl 310 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClient* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTTPHeaderMap& headers, bool includeCredentials);
313 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClient* client);
316 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClient* client, unsigned long identifier, ScriptString sourceString, const String& url, const String& sendURL, unsigned sendLineNumber);
InspectorResourceAgent.cpp 650 RefPtr<XMLHttpRequest> xhr = XMLHttpRequest::create(m_pageAgent->mainFrame()->document()); local
661 xhr->open(xhrReplayData->method(), xhrReplayData->url(), xhrReplayData->async(), IGNORE_EXCEPTION);
664 xhr->setRequestHeader(it->key, it->value, IGNORE_EXCEPTION);
665 xhr->sendForInspectorXHRReplay(xhrReplayData->formData(), IGNORE_EXCEPTION);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
mootools-1.2.2-core-nc.js 356 Browser.Features.xhr = !!(Browser.Request());
    [all...]

Completed in 471 milliseconds

12 3