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:26:08 -0400
On May 14, 2010, at 4:17 PM, Pascal Robert wrote:
Le 10-05-14 à 16:05, Ramsey Gurley a écrit :
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
<Picture 1.png>
Funny to see this pictures, reminds me of the MacBugs icon!
Yeah, after blowing most of my day hunting this down, that did make me
smile (^_^) Now I just have to figure out what I can use in place of
an ... in place editor.
Ramsey
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
_______________________________________________
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