On Wed, 05 Apr 2006 11:33:12 +0200, Stéphane Sire <[EMAIL PROTECTED]> wrote:
- nothing is said about how to create/manage timeout; I guess the idea is to use the external timer API (for instance in Window object) and then use cancel to end a timed out request...
Yeah. There's been no existing functionality with timers specifically on XMLHttpRequest. I do believe Gorm had some suggestions for that though based on existing "AJAX" libraries but that's likely XHR 2.0 work.
- what happens if the browsing context is destroyed, is the request canceled or not ? is the onreadystatechange function called ?
I guess that equals to calling abort() although it's not said explitly in the specification... Should we say something about it? Can it be tested in browsers?
-- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
