Bug Tracker

Modify

Ticket #3537 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 2 years ago

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

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

Change History

Changed 5 years ago by djc

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.

comment:2 Changed 2 years ago by rwaldron

  • Keywords ajaxrewrite added

comment:3 Changed 2 years ago by snover

  • Status changed from open to closed
  • Resolution set to wontfix

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 2 years ago by jitter

  • Keywords ajaxrewrite removed
  • Priority changed from major to low
  • Version changed from 1.2.6 to 1.4.4

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.