Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#9938 closed bug (invalid)

jQuery.ajaxTransport function is is not working in BlackBerry OS5

Reported by: kevin.burke.xig@… Owned by: kevin.burke.xig@…
Priority: undecided Milestone: None
Component: ajax Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hi, The jQuery.ajaxTransport function is not working in BlackBerry OS5. This was working with jquery 1.4.4 and is now broken in jQuery 1.6.2.

The Problem occurs on this line of code in the jQuery.ajaxTransport function

Attach handlers for all browsers script.onload = script.onreadystatechange = function( _, isAbort ) {

Blackberry browsers for older OS's(< 6.0) don't fire with onload events or doesn't change readyState of script.

This breaks the getJson function in JQuery on BlackBerry OS5.

Here is a more information on the problem: http://stackoverflow.com/questions/4783452/how-to-add-script-element-dynamically-on-blackberry-browser.

Thanks

Change History (8)

comment:1 Changed 8 years ago by kevin.burke.xig@…

This problem occurs on BlackBerry Emulators and BlackBerry Devices

comment:2 Changed 8 years ago by jaubourg

Component: unfiledajax
Owner: set to kevin.burke.xig@…
Status: newpending

I don't remember any polling code in 1.4.4, are you absolutely certain this was working with 1.4.4?

A reduced test on jsfiddle would be appreciated nonetheless so that we could test for this.

Also, do we support this version of BlackBerry OS?

comment:3 Changed 8 years ago by Rick Waldron

jQuery Mobile isn't supporting ajax navigation in older ( <6.0 ) Blackberry: http://jquerymobile.com/gbs/

This seems to imply egregious problems with ajax in Blackberry 5 and lower

comment:4 Changed 8 years ago by kevin.burke.xig@…

Status: pendingnew

Yes. I'm 100% certain it works with 1.4.4. I'll attempt to write a test case later on today thanks

comment:5 Changed 8 years ago by dmethvin

As rwaldron says, jQuery Mobile isn't supporting BB OS5 so it seems like this may be a wontfix.

comment:6 in reply to:  5 Changed 8 years ago by jaubourg

Status: newpending

Replying to dmethvin:

As rwaldron says, jQuery Mobile isn't supporting BB OS5 so it seems like this may be a wontfix.

If it actually worked in 1.4.4, there may be a problem at our end that prevents mobile from supporting it. Though, again, I'd be very surprised if it worked in 1.4.4, provided the problem really is related to what the OP linked to (but I've been surprised before).

comment:7 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:8 Changed 7 years ago by dan@…

I know the tickets closed, but I've also noticed that it works with v1.4.4 and not the lest version v1.6.4

While I can understand the point that jQueryMobile isn't supported in < BB OS5.. this is still a change in core jQuery and should at least be explained.

Note: See TracTickets for help on using tickets.