Bug Tracker

Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#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:
Blocked by: Blocking:

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 (1)

jquery-ajax.patch (648 bytes) - added by djc 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by djc

Attachment: jquery-ajax.patch added

comment:1 Changed 8 years ago by dmethvin

Milestone: 1.31.5
Status: newopen

So basically, check for http/https rather than file protocol.

comment:2 Changed 8 years ago by Rick Waldron

Keywords: ajaxrewrite added

comment:3 Changed 8 years ago by snover

Resolution: wontfix
Status: openclosed

We don’t support anything other than HTTP in Core; if you want to use them, you are responsible for creating your own transport.

comment:4 Changed 8 years ago by jitter

Keywords: ajaxrewrite removed
Priority: majorlow
Version: 1.2.61.4.4
Note: See TracTickets for help on using tickets.