Modify ↓
Ticket #3537 (closed enhancement: wontfix)
Patch: support Ajax functions for URI schemes other than http:, https: and file:
| Reported by: | djc | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5 |
| Component: | ajax | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Gecko (and probably other browsers) can support XMLHttpRequest over URI schemes other than HTTP and HTTPS.
jQuery already takes advantage of this to support file:. The enclosed patch allows the jQuery Ajax functions to operate over any URI scheme which is supported by the browser.
This is particularly useful for people (like me) who are using jQuery to develop Firefox extensions, as it is useful to be able to perform Ajax functions on chrome: URIs.
Attachments
Change History
comment:1 Changed 3 years ago by dmethvin
- Status changed from new to open
- Milestone changed from 1.3 to 1.5
So basically, check for http/https rather than file protocol.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

