Firefox redirects on failed JSONP ajax call

Firefox redirects on failed JSONP ajax call

Hi,

Here is the JSONP that i am making to a cross domian .js file

    $.ajax({
        url: HtmlPageObj.RemoteLoc + "/" + HtmlPageObj.CurrentPath,
        global: false,
        timeout: 2000,
        type: "GET",
        cache: false,
        dataType: "jsonp",
        jsonpCallback: 'EditorPage_PageContentsReceived',
        contentType: "application/json",

        success: function(objjson) {
                 
        },
       error: function(x, t, m) {
            if (t === "timeout") {
                alert("timeout");
            } else {
                alert(t);
            }
        }
  });



HtmlPageObj.RemoteLoc + "/" + HtmlPageObj.CurrentPath     is the combination of a valid URL.  

All works fine in all broiwsers including firefox.    The problem occurs when  the URL is not a valid path. All browsers   time out  and alert("timeout")    is shown.     EXCEPT   firefox.      on first call firefox does show alert    but second call always redirect firefox to this URL



What i want is firefox should always execute error and then timeout which handle such situation 



Regards
Shahzad Aslam