I am executing an HttpRequest.send(blob) in a worker thread.

I am trying to detect when there is a network outage (or any other
reason for lost connectivity - reason doesn't really matter) during
the upload process.

As a test, I pull the network plug and then query the request object.

The readyState = 4 (which is I guess complete even if it did error)

The responseText is blank.  From the FAQ, I'm guess this is how to
tell that it did not complete successfully.  My problem is there is
not any responseText on a successfully upload either.

The status and statusText both throw exceptions when queried. Is this
expected?

Thanks,
Chris....

Reply via email to