Forum: Ruby on Rails Maximum size of Ajax partial in Firefox?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B07700d04696f4e4ce546f8e93867b9c?d=identicon&s=25 Paul Hart (Guest)
on 2006-03-10 20:46
(Received via mailing list)
Hi,

I'm writing an app that has some ajax-y content to it and am
experiencing a weird error in Firefox (1.5.0.1) that doesn't appear
elsewhere (where 'elsewhere' is IE6).

I've basically taken the typo sidebar code and rewritten it for my
needs. One of the things I've written is a 'sidebar' that lists all the
countries in the ISO3166 code list and puts them into a drop down.

For those that enjoy these things, the list is here:

http://www.iso.org/iso/en/prods-services/iso3166ma...

My issue is that the dropdown is not being completely loaded by Firefox,
and is failing at a consistent location, whereas IE loads it correctly.

If I add more content to the partial prior to the dropdown, the point at
which the dropdown stops loading moves up the list, again consistently.

If I reload the page (once the sidebar has been added), then the
dropdown completely loads because it's part of the initial page load.

I've seen in the archives that there have been some Firefox-related Ajax
issues in the past, but there has never been much in the way of
resolution. One example I've found is:

http://thread.gmane.org/gmane.comp.lang.ruby.rails/37284

Does anyone know if there is a hard Firefox limit to XMLHttpRequest
response data? I'm guessing that if there is, it's 8k, but I thought I'd
check in first.

Thanks,

Paul
631d1677786f0725da6ccee46043686e?d=identicon&s=25 Jonathan Viney (Guest)
on 2006-03-12 14:35
(Received via mailing list)
I haven't come across a limit on the size an an XMLHttpRequest response,
and
I have definitely had responses (using RJS) larger than 8kb.

-Jonathan
This topic is locked and can not be replied to.