question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XMLHttpRequest-class is missing `response`-attribute

See original GitHub issue

I think that there should be response-attribute in the XMLHttpRequest-class as stated in the XMLHttpRequest-specification.

I stumbled on to this when debugging 3rd party Javascript library which didn’t work with HtmlUnit and it relied on xhr.response-attribute when handing Ajax responses.

Is there any workaround for this issue, for example, could I extend HtmlUnit’s XMLHttpRequest-class and use it instead?

Thanks for any assistance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rbricommented, Sep 29, 2021

Just made a new Snapshot build including a first impl for this. Please try and report your findings.

1reaction
rbricommented, Sep 28, 2021

ok great, will have a look and come back to you (hopefully) soon. Usually the implementation of that is not that hard (e.g. responseText is already here but writing detailed test for most of the cases takes some time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: File API: reading a Blob from Takeshi Yoshino on 2014-09 ...
The received chunks are passed to the XMLHttpRequest class on the same ... "response" attribute in the LOADING and DONE state (if no...
Read more >
UDN Search
in this guide, we'll take a look at how to use xmlhttprequest to issue http requests in order to exchange data between the...
Read more >
Authentication in the Internet of Things - NTNU Open
there is no good way to trace activity back to a specific user (the only ... and is stored in the self.response attribute...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found