• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Chrome chokes on gzipped JS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Chrome chokes on gzipped JS


  • Subject: Chrome chokes on gzipped JS
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 23 Feb 2010 17:30:24 -0500

Just a heads up for any of you guys supporting Chrome out there. If you're using gzip response compression, chrome chokes on the gzipped JS files. Specifically, it fails saying

Uncaught SyntaxError: Unexpected token ILLEGAL

It indicates failure on the last line of each script. And in some cases, two lines past the end of file on my html. In my properties,

# GZip Responses
er.extensions.ERXApplication.responseCompressionEnabled=true
er.extensions.ERXApplication.responseCompressionTypes=("application/x- javascript", "application/xhtml+xml", "application/xml")


Changing that to

# GZip Responses
er.extensions.ERXApplication.responseCompressionEnabled=true
er.extensions.ERXApplication.responseCompressionTypes=("application/ xhtml+xml", "application/xml")


Makes the failing app work again. :-/ Mac version of Chrome I downloaded today (5.0.307.9 beta). I didn't have a Windows copy to try this on.

Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: "failed to provide new primary keys for entity"
  • Next by Date: Full URL on dev
  • Previous by thread: Re: Error on deployment - Can't connect to window server
  • Next by thread: Full URL on dev
  • Index(es):
    • Date
    • Thread