Skip to main content

Bug Tracker

Side navigation

#10513 closed bug (cantfix)

Opened October 17, 2011 12:48PM UTC

Closed November 02, 2011 07:58PM UTC

Last modified April 05, 2012 06:23PM UTC

parse error on IOS

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: None
Component: misc Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

Im getting a parse error from jquery 1.6.4 on mobile safari since upgrading to IOS5

Attachments (0)
Change History (14)

Changed October 18, 2011 09:42AM UTC by addyosmani comment:1

component: unfiledmisc
owner: → anonymous
priority: undecidedlow
status: newpending

Thanks for submitting a ticket. Could you provide us with more information about the issue? eg. a test case.

Also, are you absolutely sure this isn't related to the network you're using adding further compression to the file? By letting us know what provider you're using we may be able to ascertain this as it's been an issue in the past.

Changed October 26, 2011 02:39PM UTC by anonymous comment:2

status: pendingnew

I'm having the same problem here.

Changed October 27, 2011 10:38AM UTC by anonymous comment:3

Same problem here, parse error on line 3 in the compressed version of the 1.6.4 release download from the homepage. Also states that the variable $ is undefined.

However there are no problems in the uncompressed version or even when using the compressed version of off one of the CNDs. Though the CND versions only work if the are linked externally, copy pasting code from them also does not work.

Changed October 27, 2011 10:52AM UTC by voku1987 comment:4

Same problem here, parse error on line 3 (mobile safari) in the compressed version of the 1.6.4 and also in 1.6.2 ...

Changed October 27, 2011 09:56PM UTC by dmethvin comment:5

status: newpending

You guys know that you're not providing any information we could use to help solve this problem? The 1.6.4 file has been there unchanged since September 12.

Is there some particular web page that is giving this error when you view it on iOS5?

Changed October 31, 2011 07:45PM UTC by Hugo Valk <hugo.valk@gmail.com> comment:6

Hello,

You can try running this site:

http://www.concordia-waddinxveen.nl/

It uses jquery 1.6.4

on ios5 mobile safari. It gives the parse error on my iPhone 4. After that it cannot resolve the var $ (logical when the jquery file is not processed).

Changed November 01, 2011 06:07PM UTC by dmethvin comment:7

@Hugo, who is your mobile provider? They may be "pre-compressing" the file and causing it to break. I know that T-Mobile does this; see #9969. Note also that if this is the cause it is out of our control.

Changed November 01, 2011 06:09PM UTC by dmethvin comment:8

http://www.mysociety.org/2011/08/11/mobile-operators-breaking-content/

To turn off this feature on your mobile phone or broadband, visit accelerator.t-mobile.co.uk or accelerator.orange.co.uk on your connection and pick the relevant option – if anyone knows of similar on other networks, do leave updates in the comments.

Changed November 02, 2011 07:58PM UTC by dmethvin comment:9

resolution: → cantfix
status: pendingclosed

You'll need to contact T-Mobile or Orange at the links above, or however you reach their customer service. This is not fixable by us, since the file is just chopped off.

Changed January 18, 2012 08:07PM UTC by hugo.valk@gmail.com comment:10

Hi,

Just wanted to say that it can be fixed by using the online hosted version:

http://code.jquery.com/jquery-1.7.1.min.js

Hugo

Changed April 05, 2012 06:03PM UTC by Rjvduijn@gmail.com comment:11

Although this bug has been closed, i'm facing the same issue with 1.7.1 minified and uncompressed versions. I get a parse error using safari on IOS 5. I'm currently developing a new webbased ios application and got this issue. I'll try to get some more details, although it is difficult to debug. Any ideas how toget some more info on this?

Changed April 05, 2012 06:05PM UTC by dmethvin comment:12

If this is a mobile device, your provider is most likely corrupting the file. T-Mobile in particular does this. Google around. Please don't post additional "me toos" on this ticket that have absolutely no debugging information.

Changed April 05, 2012 06:21PM UTC by anonymous comment:13

I'm not using t-mobile, but a wifi connection in my own house. Sorry i can't give any details. The ios browser itself does not give much options. I just tried a jsfiddle, which somehow works. Don't know what the reason for that might be. I load my script in the header from a local resource. This is the fiddle: http://jsfiddle.net/ewR6m/.

Changed April 05, 2012 06:23PM UTC by dmethvin comment:14

The files delivered from the CDN have been there and loaded by millions of browsers without problem, so whatever it is is not a jQuery core bug that should be reported here.