Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: TECH: Netscape Javascript data length limitations

From:Mark J. Reed <markjreed@...>
Date:Monday, October 18, 2004, 20:54
On Mon, Oct 18, 2004 at 09:57:41PM +0200, Philippe Caquant wrote:
> So I used the 'data.length' property
. . . of the Text object within the the HTMLPreElement object representing the <pre> element, I assume . . .
> But the fact is that on Netscape, when the > file text length was less then 4096 bytes, it worked, > and when it was more, everything stopped at 4096 (and > I put an alert there, asking for this value, and > Netscape answered me flatly: 4096).
Very odd. At what point does this crop up? Can you see the full file in the browser, but not access it from JavaScript past the 4096th byte, or does it stop loading the file at byte 4096? I can create a static web page with more than 4096 characters between <pre> and </pre> and Firefox happily reports the length properly, so I'm guessing your problem has to do with the dynamic loading of the file . . . -Marcos