It would be useful if there was some way to get and remove partial .textContent data. This way XHR wouldn't need to keep all the data in memory and
there was no need to copy so much data from XHR to JS.
Maybe something like this:
DOMString getTextContent(unsigned long long offset, unsigned long long length,
boolean remove /*if true, the data is removed from the internal buffer*/);
readonly attribute unsigned long long textContentLength;
Maybe something similar for .responseBody.
I need to send this to webapps wg
As in bug 687087?