I am registering a listener for "abort" event in XHR

xhr.addEventListener("abort", onAbort, false);

but it isn't executed in the following case:

    var request = new XMLHttpRequest();
    request.open("POST", "issue2462.php", true);
    request.send(null);
    request.abort();


nsIEventListenerService.addListenerForAllEvents doesn't work either

Am I doing something wrong?

(the listener is added in chrome scope)

Honza
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to