• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

IE8 crashes with 10,000+ checkboxes in a frameset

D

David

Flightless Bird
IE8 will consistantly crash on a page that contains 10,000 checkboxes only if
it is in a frameset. It works fine in IE7.

Place the following code in an asp.net vb page and put that page in a
frameset. It will crash.

Dim i As Integer
For i = 1 To 11000
Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1' />
My CB" & i & "<br>")
Next
 
P

PA Bear [MS MVP]

Flightless Bird
Developer-specific resources include:

MSDN IE Development Forums <=post such questions here instead
http://social.msdn.microsoft.com/forums/en-US/category/iedevelopment/

IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
debugging tool for IE6, IE7, and IE8)
http://www.microsoft.com/downloads/...FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

Expression Web SuperPreview Release Notes
http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx

Validators:
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/


David wrote:
> IE8 will consistantly crash on a page that contains 10,000 checkboxes only
> if it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1'
> />
> My CB" & i & "<br>")
> Next
 
D

David

Flightless Bird
This is not a development issue, it is a bug in IE8. I was simply providing
some code that would easily reproduce the issue, rather than posting static
HTML with 10,000 checkboxes in it. If you prefer, I will.
 
R

rob^_^

Flightless Bird
Start by writing validated markup.

"David" <David@discussions.microsoft.com> wrote in message
news:BB3D1F90-5B04-4B51-8489-7203F3473C68@microsoft.com...
> This is not a development issue, it is a bug in IE8. I was simply
> providing
> some code that would easily reproduce the issue, rather than posting
> static
> HTML with 10,000 checkboxes in it. If you prefer, I will.
>
 
D

David

Flightless Bird
I can assure you the "unvalidated" <br> tags have nothing to do with the bug.
 
V

VanguardLH

Flightless Bird
David wrote:

> IE8 will consistantly crash on a page that contains 10,000 checkboxes only if
> it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1' />
> My CB" & i & "<br>")
> Next


You thought that any program could have an infinite number of objects that
it could track along with any values or properties for them? So maybe you
hit some max handler count. At 1 second for a very speedy user to read any
text that you put next to the checkbox to describe what it was for, they
would be reading your form for 2.8 hours. You are obviously not generating
a *usable* document or form.

So when you did the test against Firefox, Chrome, Opera, and other web
browsers, what was their maximum object count? Are you attempting to test
for some buffer overrun vulnerability?

The IE development groups might have folks familiar with any max object
counts within a document (web page) or within a frame.
 
R

rob^_^

Flightless Bird
Hi,

Please consider your test case when posting to the MSDN forums.

First. 10000 checkboxes on a web page is ridiculous. No sane developer would
do that. (It is recommended that your pages should load within 3 seconds).
It would take a user the better part of a week to work their way through the
page and check/uncheck 10000 options.
If you are using that many checkboxes, use a datagrid with pagination
instead.

Second, IE8 uses (unknown) algorithms to determine when to switch Browser
Mode to render the page in. There are registry settings that set the limits
to the number of errors that it encounters before it gives up the ghost and
displays the "Page cannot be displayed" error page.
(They are being kind... the message should read.. "the developer who wrote
this page has made over 20000 errors.... we have stopped the page from
loading to save them from embarrassment" try again in 6 months when they
have fixed their excessive mistakes)

I can assure you, your "unvalidated" <br> tags HAS A LOT to do with the
bug. But more than likely the sheer number of elements is the issue.

There are also probably limits on the time allowed to load a frameset
iframe, otherwise cross frame scripting could run out of control and freeze
the browser or infect the client machine with malicious code. Hence the
security zone that your fameset and iframe pages are in will have a bearing.

Saying that it works in other browsers is irrelevant. Its Apples and Pears
to compare the error handling between browsers. What matters is that your
Markup and layout are validated for your selected DTD's.

IE8 feedback can be posted directly at connect.microsoft.com if you want to
waste more of your own time. The answers here and at the MSDN forums are
mostly volunteers and enthusiasts.

Regards.

"David" <David@discussions.microsoft.com> wrote in message
news:A4A37357-C997-4C15-A2EF-2F58792F2E4A@microsoft.com...
> I can assure you the "unvalidated" <br> tags have nothing to do with the
> bug.
 
J

Jeff Strickland

Flightless Bird
What is the practical application of having 10,000+ checkboxes on a single
page, much less a single site?

Maybe it's not a bug at all, but rather an understanding that they (MSoft)
don't need to support 10,000 checkboxes at once. Just a thought ...





"David" <David@discussions.microsoft.com> wrote in message
news:BDD27F37-DAE2-44F1-A89E-B36D429F4782@microsoft.com...
> IE8 will consistantly crash on a page that contains 10,000 checkboxes only
> if
> it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1'
> />
> My CB" & i & "<br>")
> Next
>
 
P

PA Bear [MS MVP]

Flightless Bird
Uh-huh...

David wrote:
> This is not a development issue, it is a bug in IE8. I was simply
> providing
> some code that would easily reproduce the issue, rather than posting
> static
> HTML with 10,000 checkboxes in it. If you prefer, I will.
 
Top