W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [ProgressEvents]

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 09 Sep 2008 12:45:33 +0300
Message-ID: <48C645BD.2020002@helsinki.fi>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: olli@pettay.fi, Jonas Sicking <jonas@sicking.cc>, Erik Dahlström <ed@opera.com>, "public-webapps@w3.org" <public-webapps@w3.org>, Charles McCathieNevile <chaals@opera.com>, public-svg-wg@w3.org

Garrett Smith wrote:
> Are you asking: What if the loadend handler calls open() on the same
> connection in loadend?

> When loadend is called, the actual completion event ("abort" | "fail"
> | "load" ) has not fired.
> Calling open should cause the previous connection to end. Jonas
> suggested that the corresponding event ("abort" | "fail" | "load")
> should then fire unless e.preventDefault() is called.
That is ok to me, even without the default behavior.
This is just something to mention in the XHR2 spec.
And the spec should handle also cases like calling abort() in loadend 
handler etc.

> Just curious: Why call open() again in loadend?
I don't know. But I'm sure someone will write such script.

Received on Tuesday, 9 September 2008 09:47:18 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:12 UTC