Re: [FileAPI] FileReader.abort() and File[Saver|Writer].abort have different behaviors

On Thu, Sep 22, 2011 at 5:19 AM, Anne van Kesteren <annevk@opera.com> wrote:

>  I just tried this in FF6, and the behavior is inconsistent.  If the TCP
>> connection has been established, then it follows your interpretation, and
>> you get onloadstart, onabort, onloadstart, onloadend, onloadend [1][3].
>>  If the TCP connection hasn't yet been established [2][4], calling open()
>> from either onabort or onloadend throws NS_ERROR_IN_PROGRESS.
>>
>
> But open() has to dispatch a readystatechange event. That will get
> somewhere in the middle of that, no?


Sorry, I meant calling send() throws NS_ERROR_IN_PROGRESS.

-- 
Glenn Maynard

Received on Thursday, 22 September 2011 15:49:02 UTC