Bug Tracker

Opened 9 years ago

Last modified 9 years ago

#8125 closed bug

jQuery 1.5 Local File AJAX requests are "not successful" despite working fine in 1.4.4 — at Initial Version

Reported by: samuel@… Owned by:
Priority: high Milestone: 1.5.1
Component: ajax Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

Description

Loading file:// results in the error callback.

At line 7251, I put a breakpoint, here is the contents of xhr:

XMLHttpRequest onabort: null onerror: null onload: null onloadstart: null onprogress: null onreadystatechange: function () {} readyState: 4 responseText: " This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3. Copyri…" responseXML: null status: 0 statusText: "" upload: XMLHttpRequestUpload withCredentials: false proto: XMLHttpRequestPrototype

Despite being successful, on line 6430, because status is 0, the request is considered failed.

Change History (0)

Note: See TracTickets for help on using tickets.