Re: Chrome chokes on gzipped JS
Re: Chrome chokes on gzipped JS
- Subject: Re: Chrome chokes on gzipped JS
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 14 May 2010 16:05:56 -0400
Just a FYI,
content-type "application/xhtml+xml" combined with gzipped response
compression and AjaxInPlaceEditor submitting an empty input field
crashes Webkit (nightly as of today) and Safari so hard it takes
between 20 seconds and 2 minutes to get it to load a page again when
relaunched...
Chrome just chokes on the gzipped JS (see original message).
Disabling js compression and only compressing the application/xhtml
+xml with otherwise same conditions gives me an Aw, Snap! page
Same conditions in Firefox 3.6.3 causes "click to edit..." disappear
completely on blur. Firebug complains "not well-formed"
Opera succeeds.
If any of the three conditions (mime type, response compression, empty
value) is not satisfied, webkit, safari, chrome, and firefox appear to
work.
Ramsey
On Feb 23, 2010, at 5:30 PM, Ramsey Gurley wrote:
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
_______________________________________________
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