Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:2 Changed 22 months ago by jaubourg
- Owner set to kevin.burke.xig@…
- Status changed from new to pending
- Component changed from unfiled to ajax
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 22 months ago by rwaldron
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 22 months ago by kevin.burke.xig@…
- Status changed from pending to new
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 follow-up: ↓ 6 Changed 22 months 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 22 months ago by jaubourg
- Status changed from new to pending
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 21 months ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
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 20 months 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This problem occurs on BlackBerry Emulators and BlackBerry Devices