When "Show XMLHttpRequests" is checked in the console tab, all
exceptions thrown in onreadystatechange are swallowed. Sample code:
var xhr = new XMLHttpRequest();
xhr.open("GET", "/ajax_json_echo/", true);
xhr.onreadystatechange = function () {
throw("foo");
}
xhr.send(null);
Open the normal error console, and try this with and without the "Show
XMLHttpRequests" option checked.
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.