function SyncRequestSettingTimeoutAfterOpen() {
  this.startXHR = function() {
    var pass = false;
    var req = new XMLHttpRequest();
    req.open("GET", STALLED_REQUEST_URL, false);
    try {
      req.timeout = TIME_SYNC_TIMEOUT;
    }
    catch (e) {
      pass = true;
    }
    ok(pass, "Synchronous XHR must not allow a timeout to be set - setting timeout must throw");
    TestCounter.testComplete();
  };
  return this;
}
Check the event received, and if it's the right (and only) one we get.

WebKit fires abort events even for DONE and UNSENT states, which is
discussed in http://webkit.org/b/98404
That's why we chose to accept secondary "abort" events in this test.

@param {DOMProgressEvent} evt An event of type "load" or "timeout".