[Chilli] IPhone Issue

Roger Pixley skreech2 at gmail.com
Fri Aug 13 22:26:57 UTC 2010

Solved the issue by splitting out the call to chilliform.js to it's
own named function then calling that function name (loadForm if you
care which you probably don't) via window.onload. The majorissue that
I have now is that certain websites once they are filtered through
coova are unreachable. Specifically it throws a kCFErrorDomainWinSock
error. I can ping the server follow the route to the server but
requesting a webpage seems impossible. I'll try and figure it out and
post back.

On Fri, Aug 13, 2010 at 4:15 PM, Roger Pixley <skreech2 at gmail.com> wrote:
> Upgraded to CoovaChilli 1.2.2 and did some tracing. I now have it
> working on any device that's not a blackberry or an i* as far as I can
> test. Traced the issue and in the compiled chillijs.chi I have a line
> that assigns chillijsWindowOnLoad to the window.onload event.
> The window.onload event is assigned to generic function() which sets
> the logon form. On other browsers this function gets run but on Safari
> it simply skips to the end of the function then sits there
> interminably (though sometimes I'll get a login form after 20 minutes
> or so)
> I think that the way the function is called by window.onload throws
> off how Safari (presumably by extension all the other apple devices)
> implements the onload function. Has anyone seen this in their usage of
> Coova? I had tested by replacing the function() body with a simple pop
> up which shows up on other browsers but not on Safari.
> On Thu, Aug 12, 2010 at 10:10 AM, Roger Pixley <skreech2 at gmail.com> wrote:
>> Hello I'm having an issue with Coova Chilli 1.0.9 with iPhones. The
>> cgi runs but the Safari browser (shipped on the iPhone) doesn't render
>> the login page. so there is no way to authenticate. Similar for iPads.
>> I put in a JS wait before the body load which makes the Login page
>> turn up on the iPhone but breaks every other device.
>> Can anyone say why this would happen or suggest a way to debug?

More information about the Chilli mailing list