[EMAIL PROTECTED] wrote: > OK, thanks. Does this mean that on network 404 (for example), async > send won't throw an exception, but rather call the error handler?
I'm not sure if it calls the error handler (even a 404 page has data), i.e. you might have to check (xhr.status / 100) == 2). But, send() definitely won't throw the exception. The network connection is only made after/while send() returns. -- All the world's a stage, And all the men and women merely players: They have their exits and their entrances; And one man in his time plays many parts, [...] --W. Shakespeare _______________________________________________ dev-tech-xpcom mailing list [EMAIL PROTECTED] https://lists.mozilla.org/listinfo/dev-tech-xpcom
