Bug 76160
Summary: | Browser freezes on typing a key into one of 10,000 <input> elements. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Akio Nishikawa <Nishikawa_Akio> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, rniwa, tkent |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Windows XP |
Akio Nishikawa
Hi.
For the title of, 1 million units to provide a text box, the browser freezes when trying to enter in the text box either.
Reproduced below the code.
<script>
document.write(' <form method="post" action="">');
for (var i = 0; i < 10000; i++) {
document.write(' <input type="text" name="loginUserId">');
}
document.write(' </form>');
</script>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Akio Nishikawa
「<form> </ form>」does not reproduce and erase.
「name= 」does not reproduce and erase.
Akio Nishikawa
I'm sorry...
「1 million」 is incorrect 「10000」...
Kent Tamura
It seems Safari 5.1 and Google Chrome 16 have this issue, but I found this was not a WebKit bug and their root causes should be different. I filed a Chromium bug; http://code.google.com/p/chromium/issues/detail?id=111319