Live listing of xmlHttpRequest details

Forums » Dev.Opera » Opera Dragonfly Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

18. May 2010, 10:32:09

ifedi

Posts: 15

Live listing of xmlHttpRequest details

Hi all,
I guess I'm missing something: I had taken it for granted that the contents of information returned from ajax requests could be made available to me on the dragonfly console (as exists in Firebug).
Is this feature not implemented?

20. May 2010, 16:29:22

aleto

A Man from Zuerich

Posts: 1864

Yes, this feature is currently lacking.

3. July 2010, 19:10:09

movax

Posts: 51

Is it possible at all to for example create new XMLHttpRequest() object in dragonfly console? I had problems with it.

4. July 2010, 11:07:27

aleto

A Man from Zuerich

Posts: 1864

Quickly checked with
>>> var xhr = new XMLHttpRequest(); 
undefined
>>> xhr.onload=function(){alert(this.getAllResponseHeaders());}; 
[object Function]
>>> xhr.open('GET', location.href) 
undefined
>>> xhr.send() 
null

works as expected, e.g. alerts all response headers.

6. July 2010, 22:36:44

movax

Posts: 51

Originally posted by aleto:

Quickly checked with

>>> var xhr = new XMLHttpRequest(); 
undefined
>>> xhr.onload=function(){alert(this.getAllResponseHeaders());}; 
[object Function]
>>> xhr.open('GET', location.href) 
undefined
>>> xhr.send() 
null

works as expected, e.g. alerts all response headers.



Thanks. I run into 'undefined', and didn't tested anything more.

Forums » Dev.Opera » Opera Dragonfly Discussions