Bug Tracker

Modify

Ticket #9969 (closed bug: invalid)

Opened 22 months ago

Last modified 17 months ago

parse error with jQuery 1.5.1 and 1.6.2 on Safari on iPad and iPhone 4.3.5 on 3G connection

Reported by: martin@… Owned by:
Priority: low Milestone: None
Component: core Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by rwaldron) (diff)

I have an akward problem.

Where the jQuery part of my WordPress Theme 'Invictus' runs flawless on all browsers and even on Safari iPad1/iPhone4 iOS4.3.5 with Wifi connection, I get a parse error when connected thru my T-Mobile 3G connection on the same website with the same code.

Can anyone help me out here?

Regards, Martin de Bes

This is the website it is all about;

Change History

comment:1 Changed 22 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to core

That's a tough one to test and one the team will probably not be able to investigate. jQuery loads without a parse error on iPad and iPhone over 3g for me so if you can narrow down the problem further and provide a more reduced test case, please open a new ticket with the specific issue.

comment:2 Changed 22 months ago by anonymous

I too have had a similar problem, with 1.5 and 1.6 giving a parse error on line 1 on iPhone safari only.

Using the uncompressed version resolved the issue.

I hope that perhaps sheds some light on the subject.

I would rather use compressed of course, but not at the expense on my iPhone users.

comment:3 Changed 22 months ago by martin.de.bes@…

That was indeed the solution.

I changed the minimized in the uncompressed version, and now it is running fine.

Shouldn't this be investigated so that the minimized version will work as well?

Thank you Anonymous user!

comment:4 Changed 22 months ago by anonymous

same problem (iPhone + German T-Mobile), same solution (uncompressed version) here!

comment:5 Changed 22 months ago by rwaldron

I'm currently using jQuery 1.6.2 (compressed) in a client project (mobile web app) with no issues on iOS Mobile Safari

comment:6 Changed 22 months ago by stephenwil

I am experiencing this issue also on an intermittent basis.

comment:7 Changed 21 months ago by Pim

I have done some research and it looks like our ISP is fiddling with the javascript files (I haven't found anything on Google about this, though). When I open up any javascript file over Wifi, that file will show up as it is. But over 3G it will show up semi-minified. Unfortunately the "*/*" string literal messes the semi-minification up, hence the parsing error.

tl;dr - T-Mobile is most likely the cause of the problem.

comment:8 Changed 21 months ago by rwaldron

  • Description modified (diff)

this was fixed in #10098

comment:9 Changed 17 months ago by thingygeoff

You can get round this by using the google hosted jquery:

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

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.