Tests for bug 15102 - XMLHttpRequest should dispatch readystatechange event.
If this passes you should see alerts for onreadystatechange and for a readystatechange listener.